intersectionMargin values are ignored by both onBottomReached and onRowInViewport. Both events trigger only when the specific row is in viewport no matter what intersectionMargin value is written.
Expected behavior
Setting intersectionMargin to a higher value should trigger above-mentioned events sooner when scrolling.
Describe the bug (actual behavior)
intersectionMargin values are ignored by both onBottomReached and onRowInViewport. Both events trigger only when the specific row is in viewport no matter what intersectionMargin value is written.
Expected behavior
Setting intersectionMargin to a higher value should trigger above-mentioned events sooner when scrolling.
Reproduction
https://codesandbox.io/s/itwinui-react-minimal-example-forked-7c3syr?file=/src/App.tsx