An open source design system that's fully customizable and agent ready
TypeScript
chore: delete dropdown-light-dismiss-race changeset (#2307)
Cindy Zhang9f8f3d4d2ee8
diff --git a/.changeset/dropdown-light-dismiss-race.md b/.changeset/dropdown-light-dismiss-race.mddeleted file mode 100644index 8ef1951dbd..0000000000--- a/.changeset/dropdown-light-dismiss-race.md+++ /dev/null@@ -1,5 +0,0 @@-----'@xds/core': patch------Fix XDSDropdownMenu light-dismiss + click-toggle race: on iOS Safari (and other touch browsers where pointerdown fires light-dismiss before the trigger's click event), tapping the trigger to close an open menu would close and then immediately re-open on the same tap. Stamp `lastHideTimeRef` whenever the menu is hidden and short-circuit `handleButtonClick` if it fires within 50ms of that stamp.