Closed cuserox closed 1 week ago
Latest commit: 2d30fad9b51948fd9b04a275e150da4ab45d9010
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
🥼 Closing in favour of more testing on the DS: https://github.com/tokens-studio/ds/pull/222 🔜 Next up: overriding clashing versions of resolved packages
Why does this PR exist?
Closes #2885
When editing a color token, specifically the Modify operations, when clicking outside either of the
Select
components - still within theDialog
- it would close the whole modal!What does this pull request do?
EditTokenFormModal
to be a true Dialog by reverting this line (nowmodal={true}
as per Radix's Dialog default prop)Select
contained in aDialog
) seems to dees the underlying layer unresponsive due topointer-events: none
remaining in the<body>
= Radix bug! This mitigates it as a temporary fix on theEditTokenFormModal.tsx
. Some thoughts:DropdownMenus
/Select
&Dialog
to the latest Radix UI versions - then they went for a temporary fix:pointer-events
to auto (Community suggestions: https://github.com/radix-ui/primitives/issues/1241#issuecomment-1734547434 & https://github.com/radix-ui/primitives/issues/1241#issuecomment-2048551011)Testing this change
+
) Modify to set an Operation or Space (see 2 Select components)