This repository was archived by the owner on Mar 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 51
fix(MenuItem): make spacebar not scroll the page, fix submenu not closing #1735
Merged
Merged
Changes from all commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
32722d4
make space on menu item not scroll the page
lucivpav 251cb64
Merge branch 'master' into fix/menu-item-space
lucivpav e34e7dc
update changelog
lucivpav 64a8127
Merge branch 'master' into fix/menu-item-space
lucivpav 4f46ef2
Merge branch 'master' into fix/menu-item-space
lucivpav ded06cf
Merge branch 'master' into fix/menu-item-space
lucivpav e0b6c50
Merge branch 'master' into fix/menu-item-space
lucivpav 648d2e9
Merge branch 'master' into fix/menu-item-space
lucivpav 1fe7b4c
Merge branch 'master' into fix/menu-item-space
lucivpav 2e2018f
Merge branch 'master' into fix/menu-item-space
lucivpav a6e2a24
Merge branch 'master' into fix/menu-item-space
lucivpav 11b1de0
fix submenu not closing
lucivpav e90e881
update changelog
lucivpav d273d40
update specification of menuItemBehavior
lucivpav 5147b11
add submenu close test
lucivpav d85e012
Merge branch 'master' into fix/menu-item-space
lucivpav ca21749
rework keyboard click fix
lucivpav ad26b34
Merge branch 'fix/menu-item-space' of github.com:stardust-ui/react in…
lucivpav 607ea95
Merge branch 'master' into fix/menu-item-space
lucivpav 90de93b
fix test
lucivpav cd6c892
Merge branch 'fix/menu-item-space' of github.com:stardust-ui/react in…
lucivpav d93e3d9
Merge branch 'master' into fix/menu-item-space
lucivpav 89c651b
Merge branch 'master' into fix/menu-item-space
lucivpav 9b914be
Merge branch 'fix/menu-item-space' of github.com:stardust-ui/react in…
lucivpav e660905
Merge branch 'master' into fix/menu-item-space
lucivpav b32599e
Merge branch 'master' into fix/menu-item-space
lucivpav e8b5fc0
Merge branch 'master' into fix/menu-item-space
lucivpav 31ac3a9
Merge branch 'master' into fix/menu-item-space
lucivpav c1ac51c
Merge branch 'master' into fix/menu-item-space
lucivpav cb2fbcc
simplify using closeAllMenus
lucivpav File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without the fix, the
Menucomponent behaves in a weird way. ThemenuOpenstate isundefined, instead oftrue. Upon investigation,this.propsinhandleClickare not what one would expect. They seem like the props of the root component. This probably causes themenuOpennot to be defined. I spent too much time on this, trying different ways to make the valuetrueinstead ofundefined, but without luck.