Skip to content

Commit

Permalink
Upgrade Reakit (#22960)
Browse files Browse the repository at this point in the history
  • Loading branch information
diegohaz authored Jun 6, 2020
1 parent defc1f1 commit 4a94950
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 31 deletions.
42 changes: 21 additions & 21 deletions package-lock.json

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

9 changes: 0 additions & 9 deletions packages/block-library/src/heading/heading-level-dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,6 @@ export default function HeadingLevelDropdown( { selectedLevel, onChange } ) {
onClick() {
onChange( targetLevel );
},
// Temporary workaround for macOS Firefox/Safari issue
// where clicking buttons in the heading level toolbar
// doesn't work.
// TODO: Replace this with a more general solution.
// https://github.com/WordPress/gutenberg/pull/20246#pullrequestreview-417338057
onMouseDown( event ) {
event.preventDefault();
event.currentTarget.focus();
},
};
} ) }
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"react-dates": "^17.1.1",
"react-spring": "^8.0.20",
"react-use-gesture": "^7.0.15",
"reakit": "^1.0.2",
"reakit": "^1.0.4",
"rememo": "^3.0.0",
"tinycolor2": "^1.4.1",
"uuid": "^7.0.2"
Expand Down

0 comments on commit 4a94950

Please sign in to comment.