Hallo zusammen,
ich habe eine 3.5 auf 4.9.26 aktualisiert.
In der Installation ist auch das Bundle installiert - Version 3.2.5.
Funktion ist auch gegeben; lediglich bei responsiven Größen blitzt das Menü kurz aufgeklappt auf -- FOUC i guess?
Sowohl in Chrome als auch in Firefox - im Mobile Safari nur beim ersten Laden der Website.
Im Inspektor wird mir angezeigt:
Code:
[Violation] Forced reflow while executing JavaScript took 100ms
jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:2 [Violation] 'load' handler took 221ms
[Violation] Forced reflow while executing JavaScript took 201ms
jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:15 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
scrollBugFix @ jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:15
e._initAddons @ jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:4
e @ jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:4
(anonym) @ (Index):258
jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:4 [Violation] Added non-passive event listener to a scroll-blocking 'touchstart' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
j @ jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:4
(anonym) @ jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:15
e.trigger @ jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:4
e._initMenu @ jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:4
e @ jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:4
(anonym) @ (Index):258
jquery.min.js,mmenu.js,rocksolid-slider.min.js-73f788cb.js:4 [Violation] Added non-passive event listener to a scroll-blocking 'touchmove' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
Bekommt man das Flackern weg? Umbau / Ergänzung in einem Template?
Danke für eine Idee.
EDIT: Selbst via Google gefunden: https://community.contao.org/de/show...l=1#post518529
Code:
#navmobil:not( .mm-menu ) {
display: none;
}
Und nun passt es!
Lesezeichen