Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Fix focused button group item z-index #121

Merged
merged 4 commits into from
May 14, 2018

Conversation

andrewpye
Copy link
Member

Fixes #120:

button-group-focus

Found that the reason I couldn't get this working yesterday was that when the code doesn't explicitly add the item wrapper component around each button in the group, we can't handle the focus/blur events on the auto-added wrapper divs. Once the user explicitly adds the item wrapper component around each button, this works fine; I've added a note to the documentation about this.

I guess we could also hack something together on the auto-wrapper system to handle focus/blur on the wrapper divs, but that'd be pretty dirty and probs not worth doing...

@andrewpye andrewpye self-assigned this May 11, 2018
@andrewpye andrewpye requested review from vladucu and tomnez May 11, 2018 06:59
Copy link
Member

@vladucu vladucu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andrewpye andrewpye merged commit f7ec3d4 into master May 14, 2018
@andrewpye andrewpye deleted the fix/focused-button-group-item-z-index branch May 14, 2018 09:29
andrewpye added a commit that referenced this pull request May 14, 2018
* Add focused class to focused button group items

* Add note to docs about needing to explicitly wrap button group items in segmented button groups

* Fix dummy app index
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants