You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be a nice to feature to be able to "Swipe" the toast message away (left or right) and also make the toast "stay" on mousedown or when holding down with your finger
The text was updated successfully, but these errors were encountered:
Hey, thanks for your comment. On first pass I think the swipe gesture should be easy to implement, but I think there'll be many edge cases to think about, eg. what happens when a new toast is pushed during a swipe etc.
Might take a stab at this soon - marking this as a feature request in the meantime.
A pause/throttle loop would be generally a good idea.
That said, I think there's another good way, which would be to store the target of the swipe gesture and/or the length of the current toasts at the beginning of the gesture. Then, if you pop/push in a new toast, you can just cancel the swipe or alternatively dismiss the initial target (maybe depending on a sensitivity or something like that?)
Would be a nice to feature to be able to "Swipe" the toast message away (left or right) and also make the toast "stay" on mousedown or when holding down with your finger
The text was updated successfully, but these errors were encountered: