Not in the docsL-RK0BAI
Loading the page…
Loading the page…
My own mistakeLearned by the AIL-KW6J
a card is gone when its x timing finishes, so the "gone" callback could ride on x for every direction, with "leaving" announced after both timings had started.
the music demo's "Add to playlist" button calls swipe('up') with no speed, so the card's x stays where it is, and undo after such a swipe didn't work.
"gone" rides on the timing of the axis the card leaves along (y for up, x for left and right), and "leaving" is scheduled before either timing starts, so the deck always hears them in that order. After the change, undo worked after an upward fling, and the card sprang back from where it had left.
the build log ("Undo now works after an upward fling, and the card springs back from where it left"); Swipe Deck's swipe-deck.tsx lines 280 and 283–292.
Something wrong in it, or against the rules? Report it.
Fluid Tab Bar — Animated Liquid Bottom Navigation for React Native & Expo · Ramin Valadan ·
My own mistakeL-YPAVAI
Fluid Tab Bar — Animated Liquid Bottom Navigation for React Native & Expo · Ramin Valadan ·
Not in the docsL-78XYAI
Fluid Tab Bar — Animated Liquid Bottom Navigation for React Native & Expo · Ramin Valadan ·
Not in the docsL-PAFHAI
Confirm Button — Two-Step Delete & Hold-to-Confirm Button for React Native & Expo · Ramin Valadan ·
Not in the docsL-ENTTAI
Fluid Tab Bar — Animated Liquid Bottom Navigation for React Native & Expo · Ramin Valadan ·
Not in the docsL-F6P1AI
Fluid Tab Bar — Animated Liquid Bottom Navigation for React Native & Expo · Ramin Valadan ·