Open jgw96 opened 7 years ago
any news on this?
You can try to use the ion-modal directive add a css class to that tag, such as "responsive-modal", and use css to override the ionic style rules to match your needs.
My solution was to wrap the modal template in an ionic-content
and adapt my css. Thanks for replying.
From @arondn2 on May 9, 2017 18:51
Ionic version: 1.3.1 I'm submitting a bug report Current behavior: I am trying to make a custom responsive modal with native scroll, without
ion-modal
directive, but with$ionicModal
service. It works fine in desktop browsers, but in mobile browsers, thetouchmove
event indiv.modal-backdrop
is locking the scroll in the child element. I know that because removing this event in chrome’s console makes the modal work like I am expecting.Steps to reproduce: link to code here http://plnkr.co/edit/8KGnuj?p=preview. (open in a mobile browser or chrome’s device emulator).
Copied from original issue: driftyco/ionic#11582