Skip to content

Revert "prevent event propagation on icon click (#1036)"#1043

Merged
anserwaseem merged 1 commit intomainfrom
anserwaseem/revert-icon-propagation
Feb 17, 2025
Merged

Revert "prevent event propagation on icon click (#1036)"#1043
anserwaseem merged 1 commit intomainfrom
anserwaseem/revert-icon-propagation

Conversation

@anserwaseem
Copy link
Collaborator

@anserwaseem anserwaseem commented Feb 17, 2025

This reverts commit 94b90eb.

Describe your changes

Original usecase was that if Icon is used under Collapsible widget, tapping on Icon was toggling Collapsible too.
But this way endingIcon in Button widget doesn't work.
So, reverting it now, will have to use Button with empty label and endingIcon in original usecase.

Screenshots [Optional]

Revert PR

#1036

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have added tests
  • I have added a changeset pnpm changeset add
  • I have added example usage in the kitchen sink app

@anserwaseem anserwaseem self-assigned this Feb 17, 2025
@changeset-bot
Copy link

changeset-bot bot commented Feb 17, 2025

🦋 Changeset detected

Latest commit: aa97c51

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

This PR includes changesets to release 4 packages
Name Type
@ensembleui/react-runtime Patch
@ensembleui/react-kitchen-sink Patch
@ensembleui/react-preview Patch
@ensembleui/react-starter 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

@github-actions
Copy link
Contributor

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

https://react-kitchen-sink-dev--pr1043-anserwaseem-revert-i-86uht8xf.web.app

(expires Mon, 24 Feb 2025 14:16:42 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 6267897ade2ba783b6db70a53a60fc3946d625e9

@anserwaseem anserwaseem merged commit 0533507 into main Feb 17, 2025
3 checks passed
@anserwaseem anserwaseem deleted the anserwaseem/revert-icon-propagation branch February 17, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants