Skip to content

Commit

Permalink
fix: hide view to avoid overlap when position is set to -9999px;
Browse files Browse the repository at this point in the history
  • Loading branch information
KaygNas committed Oct 26, 2023
1 parent 0f2e362 commit 4c8e4d1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
{
width: gridItems ? `${direction === 'vertical' ? itemSecondarySize || itemSize : itemSize}px` : undefined,
height: gridItems ? `${direction === 'horizontal' ? itemSecondarySize || itemSize : itemSize}px` : undefined,
visibility: view.nr.used ? 'visible' : 'hidden',
}
]
: null"
Expand Down

0 comments on commit 4c8e4d1

Please sign in to comment.