Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
make ons-popover look like ios view in android
-
@Fran-Diox I want ons-popover in android which should look like ios view for ons-popover
what modifier should I use??
for android it is material but for ios ??
-
@Gaurav Add
disable-auto-styling
attribute to the popover. More info here.Also, please don’t tag my username directly when you create a new topic. I answer when I’m online but other users can also answer before me :sweat_smile:
-
ooh sorry :sweat_smile:
-
ok but there is no modifier for ios like modifier=“material” for android ?? beacuse for ons-toast also I want to use ios view in android so modifier would be easy for me
-
@Gaurav No, the default style is already iOS-like. The Android appearance is due to the
material
modifier. Therefore, you only need to remove that modifier.Mixing iOS and Android styles in the same app is not very usual. If you want full iOS styles you can just call
ons.disableAutoStyling()
at the beginning of the app and it won’t addmaterial
modifiers anywhere.
-
ok thanks