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 asset selector onchange event #1868

Merged
merged 2 commits into from
Oct 22, 2024
Merged

Fix asset selector onchange event #1868

merged 2 commits into from
Oct 22, 2024

Conversation

grod220
Copy link
Contributor

@grod220 grod220 commented Oct 22, 2024

Before:

now.mov

After:

fix.mov

When a user clicks on the item, the onMouseDown event fires, the unmounting of the component prevents the onClick from firing.

Copy link

changeset-bot bot commented Oct 22, 2024

🦋 Changeset detected

Latest commit: cba2aea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@penumbra-zone/ui Patch
minifront Patch
node-status Patch
@repo/tailwind-config Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@grod220 grod220 added the bug Something isn't working label Oct 22, 2024
@grod220 grod220 self-assigned this Oct 22, 2024
Copy link
Contributor

github-actions bot commented Oct 22, 2024

Visit the preview URL for this PR (updated for commit cba2aea):

https://penumbra-ui-preview--pr1868-fix-asset-selector-cd66u5o9.web.app

(expires Tue, 29 Oct 2024 15:11:07 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 709d729610ef7a6369b23f1cb2b820a60cc685b1

@grod220 grod220 requested a review from a team October 22, 2024 14:32
@grod220
Copy link
Contributor Author

grod220 commented Oct 22, 2024

Fyi, made a fix that restored keyboard controls for this element

@grod220 grod220 merged commit 74b53af into main Oct 22, 2024
8 checks passed
@grod220 grod220 deleted the fix-asset-selector branch October 22, 2024 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants