Skip to content

Commit 5ce1e6b

Browse files
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)
1 parent 9f69383 commit 5ce1e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/twenty-front/src/modules/object-record/record-table/record-table-row/components/RecordTableRowWrapper.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const RecordTableRowWrapper = ({
3737

3838
const { ref: elementRef, inView } = useInView({
3939
root: scrollWrapperRef.ref.current?.querySelector(
40-
'[data-overlayscrollbars-viewport="scrollbarHidden"]',
40+
'[data-overlayscrollbars-viewport]',
4141
),
4242
rootMargin: '1000px',
4343
});

0 commit comments

Comments
 (0)