catc / react-timekeeper

Google Keep app inspired time picker for react :clock4:
https://catc.github.io/react-timekeeper
MIT License
696 stars 67 forks source link

When selecting a minute through the combobox the property "courseMinutes" is not being respected. #57

Closed erodrigues-dev closed 4 years ago

erodrigues-dev commented 4 years ago

When selecting a minute through the combobox the property "courseMinutes" is not being respected.

<TimeKeeper 
  switchToMinuteOnHourSelect
  time={value}
  onDoneClick={onClose}
  coarseMinutes={10}
  forceCoarseMinutes
  onChange={({ formatted12 }) => onChange(formatted12)}
/>

image image

catc commented 4 years ago

This is intended - the dropdown is meant to allow for fine grained control over minute selection so the coarse transformation shouldn't happen.

erodrigues-dev commented 4 years ago

Could you add an option to have the same pointers function, or an option to disable the drop-down list?