FrDH / mmenu-light

The (extremely) lightweight alternative to the mmenu.js plugin for creating off-canvas mobile menus.
185 stars 69 forks source link

Page reloads when zoom out on iOS 16 #92

Open FranRomero opened 1 year ago

FranRomero commented 1 year ago

I have detected that when I include this library on my Prestashop, on Safari and iOS 16 when I zoom in and zoom out on a page, it reloads the page. The reload only happens when I zoom out, though.

I have disabled the library and it works fine, this behaviour only happens when I include this library to the project. And only happens when I try to zoom out on iOS (without the menu opened).

I guess that is some addEventListener that is being triggered when doing zoom but I have searched the code and could not find anything that apparently could be related.

Do you know why this could happen? Thank you!