Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: picker does not select closest option when released at low velocity #19659

Closed
greimela opened this issue Oct 14, 2019 · 2 comments
Closed
Labels
package: core @ionic/core package type: bug a confirmed bug report

Comments

@greimela
Copy link
Contributor

Bug Report

Ionic version:

[x] 4.x

Current behavior:

When releasing the picker column while holding still it selects the next picker option.

current_behavior

Expected behavior:

When releasing the picker column while holding still it should select the closest picker option, similar to the default iOS behavior.

expected_behavior

Steps to reproduce:

Best experienced on mobile.

  1. Pick up the picker column.
  2. Move it to the option to select.
  3. Release the picker column while not moving the finger up or down.

Other information:

I will provide a pull request with an implementation of the expected behavior.

Ionic info:

Ionic:

   Ionic CLI : 5.4.2

Utility:

   cordova-res : not installed
   native-run  : not installed

System:

   NodeJS : v12.11.0
   npm    : 6.12.0
   OS     : macOS Catalina
@liamdebeasi
Copy link
Member

Thanks for the issue. This issue has been fixed via #19660 and will be available in an upcoming release of Ionic Framework.

@ionitron-bot
Copy link

ionitron-bot bot commented Feb 8, 2020

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Feb 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package type: bug a confirmed bug report
Projects
None yet
Development

No branches or pull requests

3 participants