New to coding, new to framer.
What's wrong with my code? Especially the search button. When pressing first time it move little bit left, and by second one it works as it is.
Question 2. How can I make, when I press LOG OUT it goes back to login screen from overlay left?
The problem with the search is that your 'zwin' state values have to match the values in the design view. So for the search and log, the x values are wrong and the other layer needs the width and x changed.
Other fixes here: https://framer.cloud/Hyscg
there is a mention about the "default" state which calls the initially active state, then does that mean we can remove "zwin" state and use stateCycle("show","default") instead?. I try this method with this case and somehow X position returns correctly but not the Y
this happened on second click on the "Search" icon using the above method.