Improve record table scroll look (#6753)
We had a regression on the record table as our inView hook was not able to find the right div to compute its margin. This is because we are identify this div by a hacky css selector as we don't have a direct control on it (it's provided by our scrolling library)
This commit is contained in:
@ -37,7 +37,7 @@ export const RecordTableRowWrapper = ({
|
||||
|
||||
const { ref: elementRef, inView } = useInView({
|
||||
root: scrollWrapperRef.ref.current?.querySelector(
|
||||
'[data-overlayscrollbars-viewport="scrollbarHidden"]',
|
||||
'[data-overlayscrollbars-viewport]',
|
||||
),
|
||||
rootMargin: '1000px',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user