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

[popover2] fix(Popover2): apply tabIndex to target correctly #4592

Merged
merged 1 commit into from
Mar 18, 2021

Conversation

adidahiya
Copy link
Contributor

Fixes #4521

Checklist

  • Includes tests

Changes proposed in this pull request:

This PR removes the overly magical logic which extracted a Popover2 child target's tabIndex and applied it to the generated target wrapper element. Targets now get rendered with the tabIndex directly specified as props.

Screenshot

Comparison screenshots of tab focus indicator:

Before:

2021-03-16 15 22 24

After:

2021-03-16 15 22 43

@blueprint-bot
Copy link

[popover2] fix(Popover2): apply tabIndex to target correctly

Previews: documentation | landing | table

@adidahiya adidahiya merged commit 50f71fe into develop Mar 18, 2021
@adidahiya adidahiya deleted the ad/fix-popover2-tabindex branch March 18, 2021 00:35
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

Successfully merging this pull request may close these issues.

Tooltip2+Button selection tabindex issue
2 participants