Have to bypass the first animation from useSpring #2150
Replies: 1 comment
-
I did it!!!! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am making a loading animation with sharingan where the first tomoe pattern converts to second level tomoe while rotating. In my code the first tomoe pattern rotates 2 times as the first event triggers when the useSpring initiates and second rotation also contains first tomoe which is called by api.start().
It could be really helpful if there is some property like 'initialRender' which could be a boolen value...
I search for similar discussions which people insisted on using an event but in a loading what could be an initial event? I am confused...
https://codesandbox.io/p/github/DarkShark-RAz/portfolio/main?layout=%257B%2522activeFilepath%2522%253A%2522%252FREADME.md%2522%252C%2522openFiles%2522%253A%255B%2522%252FREADME.md%2522%255D%252C%2522sidebarPanel%2522%253A%2522EXPLORER%2522%252C%2522gitSidebarPanel%2522%253A%2522COMMIT%2522%252C%2522fullScreenDevtools%2522%253Afalse%252C%2522rootPanelGroup%2522%253A%257B%2522direction%2522%253A%2522vertical%2522%252C%2522type%2522%253A%2522PANEL_GROUP%2522%252C%2522id%2522%253A%2522DEVTOOLS_PANELS%2522%252C%2522panels%2522%253A%255B%257B%2522type%2522%253A%2522PANEL%2522%252C%2522panelType%2522%253A%2522TABS%2522%252C%2522id%2522%253A%2522clgy5z8u30009356m9otc0tvy%2522%257D%255D%252C%2522sizes%2522%253A%255B100%255D%257D%252C%2522tabbedPanels%2522%253A%257B%2522clgy5z8u30009356m9otc0tvy%2522%253A%257B%2522id%2522%253A%2522clgy5z8u30009356m9otc0tvy%2522%252C%2522activeTabId%2522%253A%2522clgy5zdps00c4356mjqwrdk6c%2522%252C%2522tabs%2522%253A%255B%257B%2522id%2522%253A%2522clgy5z8u30008356m6xjp23j5%2522%252C%2522type%2522%253A%2522TASK_LOG%2522%252C%2522taskId%2522%253A%2522dev%2522%257D%252C%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A3000%252C%2522id%2522%253A%2522clgy5z8zp0023356mdpytv241%2522%252C%2522path%2522%253A%2522%252F%2522%257D%252C%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A37761%252C%2522id%2522%253A%2522clgy5z93j0044356m027tze3o%2522%252C%2522path%2522%253A%2522%252F%2522%257D%252C%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A43535%252C%2522id%2522%253A%2522clgy5zapf009q356manu78km5%2522%252C%2522path%2522%253A%2522%252F%2522%257D%252C%257B%2522type%2522%253A%2522TASK_PORT%2522%252C%2522taskId%2522%253A%2522dev%2522%252C%2522port%2522%253A37309%252C%2522id%2522%253A%2522clgy5zdps00c4356mjqwrdk6c%2522%252C%2522path%2522%253A%2522%252F%2522%257D%255D%257D%257D%252C%2522showSidebar%2522%253Atrue%252C%2522showDevtools%2522%253Atrue%252C%2522sidebarPanelSize%2522%253A15%252C%2522editorPanelSize%2522%253A47.916666666666664%252C%2522devtoolsPanelSize%2522%253A35%257D
Beta Was this translation helpful? Give feedback.
All reactions