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

[delegatesFocus] focus handler should not be invoked with tabindex=-1 #1032

Closed
gonzalocordero opened this issue Feb 5, 2019 · 1 comment
Closed

Comments

@gonzalocordero
Copy link
Contributor

Description

When a host sets a tabindex=-1 the focusable elements inside the shadow should not invoke a focus event if present.

Steps to Reproduce

  1. Go to: https://playground.lwcjs.org/projects/hyKwrc3fj/1/edit
  2. Press tab
  3. Notice how the focus handler gets invoked

Expected Results

The focus handler should never get invoked

Version

  • LWC: 0.35.1
@ekashida
Copy link
Member

ekashida commented Jul 2, 2019

Duplicate of #1243 which has more details.

@ekashida ekashida closed this as completed Jul 2, 2019
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

2 participants