You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm developing a react website where I have two filters: a date filter and status filter. For opening the dropdowns I'm using the Dropdown Menu component. Our designer wants to add an X button anytime the user chooses anything other then the default value. This button should then reset the value back to default, but onClick doesn't work, anytime I click on the X it opens the dropdown contents, EXCEPT if I quickly click on it multiple times. For smaller screens like Mobile and Tablets I switch the view to the Sheet component where the X button DOES work as it should.
Affected component/components
Dropdown Menu
How to reproduce
Create a DropdownMenu component
Inside the DropdownMenuTrigger add a text
Add a button with a onClick function
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Microsoft Window 11, Visual Studio Code, Microsoft Edge, React Typescript
Before submitting
I've made research efforts and searched the documentation
I've searched for existing issues
The text was updated successfully, but these errors were encountered:
Describe the bug
I'm developing a react website where I have two filters: a date filter and status filter. For opening the dropdowns I'm using the Dropdown Menu component. Our designer wants to add an X button anytime the user chooses anything other then the default value. This button should then reset the value back to default, but onClick doesn't work, anytime I click on the X it opens the dropdown contents, EXCEPT if I quickly click on it multiple times. For smaller screens like Mobile and Tablets I switch the view to the Sheet component where the X button DOES work as it should.
Affected component/components
Dropdown Menu
How to reproduce
Codesandbox/StackBlitz link
No response
Logs
No response
System Info
Before submitting
The text was updated successfully, but these errors were encountered: