Skip to content

[Virtualizer] Why do we do "pointerEvents: auto"? #503

Answered by inokawa
donovanlopez asked this question in Q&A
Discussion options

You must be logged in to vote

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).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@donovanlopez
Comment options

@inokawa
Comment options

@donovanlopez
Comment options

Answer selected by donovanlopez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants