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

Close slidable after tab on SlideAction #4

Closed
iPieter opened this issue Jul 22, 2018 · 2 comments
Closed

Close slidable after tab on SlideAction #4

iPieter opened this issue Jul 22, 2018 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@iPieter
Copy link

iPieter commented Jul 22, 2018

In iOS, clicking on a button will also close the slidable. This makes sense, since for example deleting a record will result in the next row being displayed in the slidable otherwise.

@letsar letsar self-assigned this Jul 22, 2018
@letsar letsar added the enhancement New feature or request label Jul 22, 2018
@letsar
Copy link
Owner

letsar commented Jul 22, 2018

I plan to add a controller to open/close a Slidable. This could be a part of this.
In the meantime, I think you can avoid this pitfall by setting a different key for each Slidable. Then when you delete a record, the list will sync if keys instead of indexes.

@letsar
Copy link
Owner

letsar commented Jul 23, 2018

Published in version 0.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants