T
T
tosha732020-05-03 01:23:58
JavaScript
tosha73, 2020-05-03 01:23:58

Closing the menu when clicking on an empty space?

Faced a problem that does not allow closing the menu when clicking on an empty space, as well as an overlap problem

When menu 1 overlaps menu 2 or vice versa

https://jsfiddle.net/msLzreda/

an example can be seen here - https://newcsgosettings.at .ua/

I also can't figure out why opening the menu doesn't work on small screens

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Arseny, 2020-05-03
@tosha73

To be honest, your example didn't work at all. Nevertheless, I recommend reading about the ascent and interception of events.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question