I have JavaScript running that somehow disables vertical panning on shown modals on mobile devices. Thus a user is not able to see all the content of a modal.
Is there a way to disable this JavaScript every time a modal is shown?
Following code in the JavaScript seems to be responsible for disabling panning:
var my_menu = new Menu({
menuID:"my_menu",
menuItemClass:"menu",
});
When I remove it panning works perfectly!
So my idea was to run another function every time a modal is shown that removes the code above.
Does that make sense & how could this be achieved?
Thanks a lot!