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
If you quickly click to re-open the menu while it's transitioning closed,classes within MenuItem will be set to undefined instead of default object/styles.
Within MenuField, If you don't pass classes to MenuItem or set it explicitly to undefined (<MenuItem classes={undefined} />), the issue does not present.
The text was updated successfully, but these errors were encountered:
techniq
changed the title
[MenuField] Re-opening menu while transition close causes classes to be undefined (instead of default)
[MenuField] Re-opening menu while transition closed causes classes to be undefined (instead of default)
Sep 21, 2023
This also occurs if you click on the chevron toggle button to close a menu already opened. See #155 (comment) for some context.
Would be good to test with Svelte 5 to see if this is still an issue. For the chevon button issue, ultimately it would be nice if the menu was closed and not quickly re-opened. See issue #93
If you quickly click to re-open the menu while it's transitioning closed,
classes
withinMenuItem
will be set toundefined
instead of default object/styles.CleanShot.2023-09-21.at.10.04.56.2.mp4
Within
MenuField
, If you don't passclasses
toMenuItem
or set it explicitly toundefined
(<MenuItem classes={undefined} />
), the issue does not present.The text was updated successfully, but these errors were encountered: