I created a side menu that slides in when clicking on a button.
To close the side menu, there’s a close (X) button on the menu panel.
The same Interaction I gave the close button, I gave also to the menu background that covers the rest of the page.
For some reason, the interaction will work nice and smooth on the close button but not when clicking on the background outside the menu panel.
Am I missing something?
Here is my published link:
Here is my public share link: