Skip to content

Commit

Permalink
feat(VIrtualGrid): add content visibility style to virtual elements
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Fernández <ferferga@hotmail.com>
  • Loading branch information
ferferga committed Apr 16, 2024
1 parent fe03c72 commit 937e458
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/components/Layout/VirtualGrid/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,8 @@ export function getVisibleItems<T>(
value,
style: {
gridArea: '1/1',
transform: `translate(${x}px, ${y}px)`
transform: `translate(${x}px, ${y}px)`,
contentVisibility: 'auto'
}
};
});
Expand Down

0 comments on commit 937e458

Please sign in to comment.