Skip to content

Commit

Permalink
Merge pull request #3 from slidoapp/a11y-skin-tone
Browse files Browse the repository at this point in the history
A11y skin tone focus button
  • Loading branch information
andrejkaPry authored May 30, 2024
2 parents add9ca4 + 04caaa7 commit efaeb84
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/browser.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/browser.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/module.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/module.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions packages/emoji-mart/src/components/Picker/Picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -656,6 +656,8 @@ export default class Picker extends Component {
if (!this.state.showSkins) return
this.setState({ showSkins: null, tempSkin: null })

this.refs.skinToneButton.current.focus()

this.base.removeEventListener('click', this.handleBaseClick)
this.base.removeEventListener('keydown', this.handleBaseKeydown)
}
Expand Down

0 comments on commit efaeb84

Please sign in to comment.