[BUG]: components/stack - next picture doesn't snap back into original place
Closed this issue · 1 comments
KisungC commented
Describe the issue
The preview of the stack is not the same as the given code.
The stack preview snaps the picture back into the original position (after the sendToBack function).
In the given code, the pictures do not snap back to the original position, and keeps the tilted interface as you flip through the images.
To achieve the same result in the preview, remove
initial = {false}
located in the motion.div tag.
Reproduction Link
No response
Steps to reproduce
Copy the code, and keep scrolling through the images, you'll notice that the picture stays tilted instead of next picture snapping back into the original position.
Validations
- I have checked other issues to see if my issue was already reported or addressed
DavidHDev commented
I don't see how this is a bug.