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

inert content focusable via click if has styles #20

Open
valdrinkoshi opened this issue Aug 9, 2016 · 0 comments
Open

inert content focusable via click if has styles #20

valdrinkoshi opened this issue Aug 9, 2016 · 0 comments

Comments

@valdrinkoshi
Copy link
Collaborator

If a child of an inert node has pointer-events: auto, it will be clickable and focusable.

<style>
  #myDiv input {
    pointer-events: auto;
  }
</style>

<div id="myDiv" inert>
  <button>Button</button>
  <input placeholder="styled input">
</div>

http://jsbin.com/zibuyus/2/edit?html,output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant