De.Minov
Community Answers
-
De.Minov's post in Updating start/end positions when initializing pin. was marked as the answer
I found the cause of all the issues... 🥲
The whole problem was that I had a useBreakpoint() hook, which was a dependency for useLayoutEffect() in the first component, but it was missing in the second one, which caused this problem.
What a carelessness 🤦♂️
----
Thank you all so much for your help! 🙏
The topic can be closed now.