bug: ion-datetime scroll inertia/momentum to high
See original GitHub issueBug Report
Ionic version: [x] 4.1
Current behavior: On a physical device (iOS) the picker does not stop as expected at slow scroll speeds, it seems to have to much inertia. It is subtle but is different to the native iOS time picker e.g. if you try to set an the alarm on an iOS device. It scrolls a little to long at low speeds and makes it more error prone to pick the correct time.
Expected behavior: Behave the same as the time picker on iOS used when setting the alarm. e.g. less inertia and stops on the expected number easier.
Steps to reproduce: Add an ion-datetime to an ionic project page similar to below to pick time:
<ion-datetime
[(ngModel)]="start"
displayFormat="HH:mm"
minuteValues="0,15,30,45"
picker-format="HH:mm"
(ionChange)="onChangeStartTime($event)"
</ion-datetime>
Other information:
Ionic info:
Ionic:
Ionic CLI : 5.0.0 (C:\Users\fullo\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.4.2
@angular-devkit/build-angular : 0.13.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1
Capacitor:
Capacitor CLI : 1.0.0
@capacitor/core : 1.0.0
Utility:
cordova-res : not installed
native-run : not installed
System:
NodeJS : v10.15.3 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:8 (1 by maintainers)
Top Results From Across the Web
bug: ion-datetime scroll inertia/momentum to high #18679
It scrolls a little to long at low speeds and makes it more error prone to pick the correct time. Expected behavior: Behave...
Read more >Ion-datetime - scroll has too much momentum
Ion -datetime - scroll has too much momentum ... Is it possible to make this grip to the selected values more rather than...
Read more >ion-datetime scroll inertia / momentum too high - Stack Overflow
e.g. if you try to set an alarm on an iOS device. It scrolls a little too long at low speeds and makes...
Read more >RazorpayCheckout is undefined in ionic payment integration
Ionic 3, getting Runtime Error after selecting value from ion-select ... ion-datetime scroll inertia / momentum too high · Ionic Angular maxlength not ......
Read more >Untitled
Money format in sql server 2005, Bernardo sassetti nocturno, High level of tsh ... Fruit fly like bugs, E-ink technology patent, Adobe x...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
/cc @paulstelzer @liamdebeasi Hey, this issue seems to be overlooked. I think this belongs into your ion-datetime bug collection #16630 I just checked again and sometimes still behaves as desribed in the initial text.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.