Skip to content

Commit 8107b61

Browse files
Merge pull request #70 from linked-planet/dev
dropdown chevon visiblity override fix
2 parents 3afc481 + b2f3660 commit 8107b61

File tree

3 files changed

+90
-86
lines changed

3 files changed

+90
-86
lines changed

library/src/components/DropdownMenu.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,14 +481,18 @@ const Trigger = forwardRef<HTMLButtonElement, DropdownTriggerProps>(
481481
{children}
482482
<IconSizeHelper
483483
className={`hidden h-4 w-4 items-center justify-center ${
484-
hideChevron ? "" : "group-data-[state=open]:flex"
484+
hideChevron
485+
? ""
486+
: "group-data-[state=open]:flex group-data-[state=open]:visible"
485487
}`}
486488
>
487489
<ChevronUpIcon label="" size="small" />
488490
</IconSizeHelper>
489491
<IconSizeHelper
490492
className={`hidden h-4 w-4 items-center justify-center ${
491-
hideChevron ? "" : "group-data-[state=closed]:flex"
493+
hideChevron
494+
? ""
495+
: "group-data-[state=closed]:flex group-data-[state=open]:visible"
492496
}`}
493497
>
494498
<ChevronDownIcon label="" size="small" />

package-lock.json

Lines changed: 83 additions & 83 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"react-day-picker": "^8.10.1",
106106
"react-intl": "^6.8.7",
107107
"react-joyride": "^2.9.2",
108-
"react-router-dom": "^6.27.0",
108+
"react-router-dom": "^6.28.0",
109109
"react-select": "^5.8.2",
110110
"react-syntax-highlighter": "^15.6.1",
111111
"react-toastify": "^10.0.6",

0 commit comments

Comments
 (0)