Skip to content

Commit

Permalink
[RC] fix: Select trigger click hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
AgustinMJ committed Sep 17, 2024
1 parent a84b2b5 commit f30e3d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/genesys/packages/react-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@peersyst/react-components",
"author": "Peersyst",
"version": "3.9.37",
"version": "3.9.38",
"license": "MIT",
"main": "./src/index.tsx",
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ function InnerSelect<T>({
<ClickAwayListener onClickAway={handleOnClickAway}>
<SelectRoot className="Select">
<SelectDisplayWrapper disabled={disabled} readonly={readonly}>
<SelectDisplayTrigger onClick={handleClick} />
{display || (
<SelectDisplay
open={open}
Expand All @@ -94,7 +95,6 @@ function InnerSelect<T>({
)}
</SelectDisplay>
)}
<SelectDisplayTrigger onClick={handleClick} />
</SelectDisplayWrapper>
<SelectProvider value={{ value, setValue, setOpen, multiple, readonly, compare }}>
<SelectMenu open={open} expandable={expandable}>
Expand Down

0 comments on commit f30e3d6

Please sign in to comment.