🐛(react) fix closing of menu via toggle button
Previously it was not possible to close the menu when clicking on the toggle button on search select. It was caused by a conflicting state update. 1. Downshift triggers closing the menu from getToggleButtonProps 2. wrapperProps was calling downshiftReturn.openMenu()
This commit is contained in:
5
.changeset/long-jeans-rush.md
Normal file
5
.changeset/long-jeans-rush.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@openfun/cunningham-react": patch
|
||||
---
|
||||
|
||||
fix closing of menu via toggle button
|
||||
Reference in New Issue
Block a user