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

feat: ion-select autoscroll to last selection #24271

Closed
3 tasks done
brentspector opened this issue Nov 25, 2021 · 2 comments
Closed
3 tasks done

feat: ion-select autoscroll to last selection #24271

brentspector opened this issue Nov 25, 2021 · 2 comments
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement

Comments

@brentspector
Copy link

brentspector commented Nov 25, 2021

Prerequisites

Describe the Feature Request

If an option is selected, ion-select will automatically scroll to the position in the ion-select-options list when opening the selection window.

Describe the Use Case

When presented with a ion-select that has multiple pages worth of scroll, it is difficult and tedious to get back to the last place selected in the list.

Describe Preferred Solution

This feature should be enabled by default. It could be a boolean property on ion-select components if developers do not want that feature.

Describe Alternatives

I plan to make a component that outright skips using ion-select (see brentspector/reborn-pokepedia#14) and instead provides a searchbar over a list of ion-items. However, the all-in-one functionality of an ion-select (plus the integration with Capacitor) makes ion-select much more attractive.

Related Code

No response

Additional Information

I cannot show related code, but here is an issue with the steps to reproduce the issue on my app,

App URL: https://brentspector.github.io/reborn-pokepedia/locations/
Issue URL: brentspector/reborn-pokepedia#13

@ionitron-bot ionitron-bot bot added the triage label Nov 25, 2021
@sean-perkins sean-perkins added package: core @ionic/core package type: feature request a new feature, enhancement, or improvement labels Nov 29, 2021
@ionitron-bot ionitron-bot bot removed the triage label Nov 29, 2021
@sean-perkins
Copy link
Contributor

Duplicate request of #19296. Closing in favor of that request to prevent duplicate tickets.

You can upvote (👍 ) that thread to let us know this feature is important to you.

@ionitron-bot
Copy link

ionitron-bot bot commented Dec 30, 2021

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 Dec 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: core @ionic/core package type: feature request a new feature, enhancement, or improvement
Projects
None yet
Development

No branches or pull requests

2 participants