[Virtualizer] Why do we do "pointerEvents: auto"? #503
-
In the Virtualizer, I see that when we're not scrolling, we do I ask because I'm using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Setting The |
Beta Was this translation helpful? Give feedback.
Setting
pointer-events: none
while scrolling is an optimization to disable hover interactions.https://ryanseddon.com/css/pointer-events-60fps/
The
pointer-events: auto
is the opposite, but... is it better to just remove the style to inherit the parent's style? like react-window? If so, I'll fix it later(or PR welcome).