Navigation hide on scrolling [smartphone tablet]...
Hello,
i using a responsive menu (navigation). On smartphone or tablet if i scroll over the opened menu it hides automatically...
Don´t understand why, but i think the problem has to do with multilevel dropdown.
If i uncommend:
- /* cssmenu.find('li ul').parent().addClass('has-sub');
- multiTg = function() {
- cssmenu.find(".has-sub").prepend('<span class="submenu-button"></span>');
- cssmenu.find('.submenu-button').on('click', function() {
- $(this).toggleClass('submenu-opened');
- if ($(this).siblings('ul').hasClass('open')) {
- $(this).siblings('ul').removeClass('open').hide();
- }
- else {
- $(this).siblings('ul').addClass('open').show();
- }
- });
- };*/
it doesn´t hide anymore.
I rebuild it on JsFiddle (im using chrome on smartphone):