Open Nicolas-PredictaLab opened 1 year ago
An hacky way if to do like this :
// Disable zooming when user open the submenu
cy.on('cxttap', () => cy.userZoomingEnabled(false))
// Enable it again when user tap or modify viewport
cy.on('tap viewport', () => cy.userZoomingEnabled(true))
Hello,
I've a very long submenu under "Social" submenu and I've managed to set a
height
and aoverflow-y : auto
in CSS but whenever I scroll in the submenu, the graph itself if zooming and then, menu closed itself. Everything is 'normal' from what I've seen in the library code, but how to prevent this ? I see 2 ways :Thanks for feedbacks, Have a nice day.