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

bug: IonItemOptions stays open after ionIonSwipe is excecuted #3631

Open
abdullahaltun70 opened this issue Apr 30, 2024 · 0 comments
Open

bug: IonItemOptions stays open after ionIonSwipe is excecuted #3631

abdullahaltun70 opened this issue Apr 30, 2024 · 0 comments
Labels
triage New issues

Comments

@abdullahaltun70
Copy link

Describe the Bug

So when I use the IonItemSliding with the IonItemOption expandable, the Option stays open even after the onIonSwipe action is excecuted. So I have one which I use to delete an Item.
IonItemOptions side="end" onIonSwipe={onDelete}> <IonItemOption color="danger" onClick={onDelete} expandable>
After one Item is deleted the option Delete stays visible.

Expected Behavior

What I expected to happen was the slider dissapearing after the function is excecuted. So after the Item is deleted the Delete option should be hidden again until swiping an Item again.

Steps to Reproduce

Using the IonItemSliding with IonItemOptions & IonItemOption with a function attached to it.

Screenshots

Scherm­afbeelding 2024-05-01 om 00 17 00

Operating System

No response

Browser

No response

Version

No response

Additional Information

I am trying my application in the web, so first I thought it was due to my browse (safari, chrome, firefox, etc.) so I installed the app on my phone. I got the exact same behaviour.

@abdullahaltun70 abdullahaltun70 added the triage New issues label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage New issues
Projects
None yet
Development

No branches or pull requests

1 participant