Answer the question
In order to leave comments, you need to log in
Why is the class not removed?
https://codepen.io/poylar/pen/abvNeVe
When menu is clicked, I add the active class, when closeBtn-wrapper is clicked, I remove it, but it is not removed, although the state is updated, why? Due to the fact that closeBtn is a child of menu? If yes, how to avoid it?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question