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

Close InstallDropdown on outside click #455

Merged
merged 2 commits into from
Aug 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion www/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"grommet": "2.25.1",
"grommet-icons": "4.7.0",
"highlight.js": "11.6.0",
"honorable": "0.138.0",
"honorable": "0.139.0",
"honorable-recipe-mp": "0.3.0",
"honorable-theme-default": "0.65.0",
"js-yaml": "4.1.0",
Expand Down
4 changes: 2 additions & 2 deletions www/src/components/repository/InstallDropdownButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,8 +224,8 @@ function InstallDropdownButton({ recipes, ...props }) {
<DropdownButton
fade
defaultOpen
onOpen={x => {
if (!x) setRecipe(null)
onOpen={open => {
if (!open) setRecipe(null)
}}
label="Install"
onChange={() => {
Expand Down
10 changes: 5 additions & 5 deletions www/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10890,9 +10890,9 @@ __metadata:
languageName: node
linkType: hard

"honorable@npm:0.138.0":
version: 0.138.0
resolution: "honorable@npm:0.138.0"
"honorable@npm:0.139.0":
version: 0.139.0
resolution: "honorable@npm:0.139.0"
dependencies:
"@emotion/is-prop-valid": ^1.1.3
"@floating-ui/react-dom": ^1.0.0
Expand All @@ -10906,7 +10906,7 @@ __metadata:
"@emotion/styled": ">=10.0.0"
react: ">=16.0.0"
react-dom: ">=16.0.0"
checksum: e336299cec757bf1ed956d21b6b4cb9976334256eeae9942fc0721a2a52e9f5fdc26150e78579b678eacc2fafc06ebc2ff1e37fe15ee9b17ae7e0e18fd72c02f
checksum: 520c8d16dabd70f11310ceec7fa4bc6bde944419ee1983e0813a62506efddb3c9081cc8027364a237d05b561de887bb48cc9b2dc0d5b5f75adfd674af5683e40
languageName: node
linkType: hard

Expand Down Expand Up @@ -20755,7 +20755,7 @@ __metadata:
grommet: 2.25.1
grommet-icons: 4.7.0
highlight.js: 11.6.0
honorable: 0.138.0
honorable: 0.139.0
honorable-recipe-mp: 0.3.0
honorable-theme-default: 0.65.0
js-yaml: 4.1.0
Expand Down