bug: IonItemOptions stays open after ionIonSwipe is excecuted
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- frontend
Research direction
Start with the IonItemSliding, IonItemOptions, and IonItemOption usage described in the report, focusing on the onIonSwipe delete flow. Reproduce the issue with an expandable end option, then verify that deleting an item closes the slider and hides the Delete option until the next swipe.
Written by the indexing model from the issue text.
Description
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
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.
- Dominant language
- MDX
- Stars
- 621
- Forks
- 3.2k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 86
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from ionic-team/ionic-docs
-
content
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
ionic-team/ionic-docs#4705 ·
-
content package: angular
Difficulty 2/5 Half a day Newbie friendliness 78/100
ionic-team/ionic-docs#4702 ·
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 80/100
ionic-team/ionic-docs#4546 ·
-
content: broken link Opencontent
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
ionic-team/ionic-docs#4381 · 2 comments ·
-
triage
Difficulty 1/5 Under an hour Newbie friendliness 72/100
ionic-team/ionic-docs#3639 ·
All issues in ionic-team/ionic-docs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
t/bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 86/100