-
-
Notifications
You must be signed in to change notification settings - Fork 558
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
A dismissed Slidable widget is still part of the tree. #229
Comments
Did you removed the |
It did not get removed yet because animation is still in progress... whil ein progress try to click on it |
sure
|
I tested it but I cannot reproduce. Can you send me a complete sample I would just have to run to reproduce the issue? |
I was able to track down this issue but not sure how to solve it.... DO not want to add custom logic to every slidable. Maybe you have an advice?
|
Ok I see now. What I would do would be to apply the principle of optimistic UI: |
Yes i know this technique but if i have 10 lists with removable row implementing such generic mechanics is costly. I wonder - maybe there is some other way to prevent this like library scope? |
In my opinion, it's not the scope of this library. If you have 10+ lists like that, you could create your own widget with you own abstractions to take into account this principle. You would have the same issue with the built-in |
I see. Agree. closing. Thanks |
it is closed issue. My snippet.
How is And object worked?
|
I get this error if while widget remove animation is playing (or in other words while removing widget) i quickly click on it.
I think clicking on widget while animation is playing should be disabled.
version: 1.0.0-dev.6
The text was updated successfully, but these errors were encountered: