A
A
Antonio092020-04-30 01:28:30
JavaScript
Antonio09, 2020-04-30 01:28:30

How to fix resize?

on a small screen I opened a submenu
, then I return to the desktop - and lags (if you open or close the submenu)
and it should not be shown on the desktop (submenu)

at all if you do not play with sizes - then everything is ok

in this case> 1050 - desktop

https://jsfiddle .net/43ksqxa0/

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2020-04-30
@Antonio09

The matter is that each time when there is a change of a window, the new handler of events is hung up. Here, look how I did it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question