ionic-team / ionic-team/ionic-docs

bug: IonItemOptions stays open after ionIonSwipe is excecuted

Đang mở
#3,631 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
triage
Ngôn ngữ chính
MDX
Star
621
Fork
3.2k
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
86

Mô tả

### 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}>
`
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](https://github.com/ionic-team/ionic-docs/assets/71893734/16290d7b-ac79-42e1-b05c-7da3ad01590d)

### 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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.