Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: clicking a select when editing a color token now keeps the modal open #2892

Closed

Conversation

cuserox
Copy link
Contributor

@cuserox cuserox commented Jun 20, 2024

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 the Dialog - it would close the whole modal!

What does this pull request do?

Testing this change

  1. In the Tokens tab, edit or duplicate any color token, and see a Modal appear
  2. Add a (+) Modify to set an Operation or Space (see 2 Select components)
  3. Click outside any Select, still inside the Modal
  4. The Modal now stays open!
Before After
clickingOutsideModifierSelectsClosesTheModal.mp4
clickingOutsideTheSelectModifiersDontCloseTheModal.mp4

@cuserox cuserox added bug Something isn't working QOL Quality of Life improvements 💡request Community feedback labels Jun 20, 2024
@cuserox cuserox self-assigned this Jun 20, 2024
Copy link

changeset-bot bot commented Jun 20, 2024

⚠️ No Changeset found

Latest commit: 2d30fad

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.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

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

@cuserox cuserox force-pushed the fix/2885-outside-select-click-now-keeps-modal-open branch 2 times, most recently from dd8de40 to 364ddd2 Compare June 24, 2024 15:02
@cuserox cuserox force-pushed the fix/2885-outside-select-click-now-keeps-modal-open branch from 364ddd2 to 2d30fad Compare June 24, 2024 15:33
@cuserox cuserox marked this pull request as ready for review June 24, 2024 15:42
@cuserox cuserox marked this pull request as draft June 25, 2024 09:47
@cuserox
Copy link
Contributor Author

cuserox commented Jun 25, 2024

🥼 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working QOL Quality of Life improvements 💡request Community feedback
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant