flatpickr icon indicating copy to clipboard operation
flatpickr copied to clipboard

Month select plugin is not using the native month picker on mobile.

Open matt-clegg opened this issue 6 years ago • 4 comments

https://jsfiddle.net/69k2espu/3/ (Can't seem to get this to run on mobile)

Your Environment

  • flatpickr version used: vue-flatpickr-component: 8.1.5
  • Browser name and version: Chrome 79.0.3904.69
  • OS and version: Android 10, Pixel 2 - Build number QP1A. 191105.004

The month select plugin does not use the native month picker on mobile, it uses the standard date picker. Inspecting the element in shows the month picker used a type="date" attribute instead of type="month".

For example, this is the picker that appears when tapping on the month picker field: native_1

And this is what should appear: native_2

matt-clegg avatar Nov 18 '19 10:11 matt-clegg

Can confirm.

  • Firefox Mobile 68.2.0esr
  • Firefox Preview 2.3.0

Miaourt avatar Nov 18 '19 13:11 Miaourt

Would be nice to have the native / mobile support for all plugins =)

domschmidt avatar Nov 03 '20 08:11 domschmidt

add attribute mode: 'multiple' or 'range' to fixed in mobile view

insiderinside avatar Oct 11 '22 04:10 insiderinside

Sorry, I have same issue. Is there a way to completely resolve this with single mode?

Hungpv-ashen avatar May 24 '24 06:05 Hungpv-ashen