简体   繁体   中英

Flatpickr uses different native calendar in mobile browser and in webview (IOS)

When I try to open my app that uses vue-flatpickr-component in a browser on my iphone I get a different native calendar than the one I get when I open the app in webview.

On android the calendars are the same in both cases.

What causes this? Can I somehow affect this? Is there some way I can debug this?

Reading the documentation of Flatpickr

You will find the option disableMobile .

disableMobile information:

Set disableMobile to true to always use the non-native picker. By default, flatpickr utilizes native datetime widgets unless certain options (disable) are used.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM