Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion. pointer-events: disabled #4499

Open
ExtAnimal opened this issue Nov 8, 2019 · 1 comment
Open

Suggestion. pointer-events: disabled #4499

ExtAnimal opened this issue Nov 8, 2019 · 1 comment
Labels
css-ui-4 Current Work

Comments

@ExtAnimal
Copy link

Or some similar property value name.

disabled would mean no events at all. No event from ancestor elements. No :hover behaviour either. Unreactive.

none means that pointer events "see through" the element and just start their bubble and hover behaviour from the parentNode.

For some applications, you just want an element to be unreactive. Similar to adding the very first listener and calling stopImmediatePropagation on the event.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-ui-4 Current Work
Projects
None yet
Development

No branches or pull requests

3 participants