-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
bug: ion-reorder prevents click event when ion-reorder-group is disabled #21017
Comments
As a workaround you can wrap only your button in a ion-reorder
It's most likely stripping the click events due to adding it's own click events for draggable. |
Thanks for the issue. Can you clarify the issue you are running into? |
Sure, let's take the example from my repo, the When you run the app the If you enable the reordering everything just works as expected - click events from the wrapped element is prevented and only reordering is possible. This also applies to simpler cases like an
My assumption was that the |
I have the exact problem 👍 |
Same problem. Currently i have to implement list reordering without ion-reorder because of this. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Bug Report
Ionic version:
[x] 5.x
Current behavior:
If ion-reorder-group is disabled, all elements affected by ion-reorder that also have a click event are not working
Expected behavior:
If ion-reorder-group is disabled also disable ion-reorders click prevention
Related code:
Repo: (https://github.com/gr99t/ionic-reorder-card)
Ionic info:
The text was updated successfully, but these errors were encountered: