Skip to content

Commit 64fcbf4

Browse files
authored
fix(data-grid): sticky positioning for pinned columns in firefox (#1087)
* fix: optimize Firefox sticky positioning fix - Inline Firefox detection in useDataGrid using useSyncExternalStore - Pass isFirefox from hook down to components to avoid repeated checks - Short-circuit pinned columns check when not Firefox - Remove separate useIsFirefox hook file for simpler distribution Closes #1082 * refactor: rename isFirefox to adjustLayout for clarity - Renamed isFirefox prop to adjustLayout in DataGridRow - Fixed logic bug: adjustLayout now correctly only true when Firefox AND columns are pinned - Removed redundant comments, logic is self-documenting - Cleaner, more semantic naming * chore: rebuild registry
1 parent 1e5e6c1 commit 64fcbf4

File tree

4 files changed

+44
-11
lines changed

4 files changed

+44
-11
lines changed

0 commit comments

Comments
 (0)