Skip to content

bug: IonItemOptions stays open after ionIonSwipe is excecuted #3631

Open
@abdullahaltun70

Description

@abdullahaltun70

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions