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

ContentPicker new prop to control selected initial order #125

Open
1 task done
xipasduarte opened this issue Jul 12, 2022 · 0 comments · May be fixed by #126
Open
1 task done

ContentPicker new prop to control selected initial order #125

xipasduarte opened this issue Jul 12, 2022 · 0 comments · May be fixed by #126

Comments

@xipasduarte
Copy link
Contributor

Is your enhancement related to a problem? Please describe.

When using the picker my desired list output requires that the new item is pushed to the bottom of the list. In a small list this is not a problem to manually resort, also it's not too hard to redo the actual selection with onPickChange, but it might be simpler if we do it this way.

Designs

No response

Describe alternatives you've considered

I've considered letting the user resort manually, but it seems to be too troublesome for large lists. another alternative, which I have in place, was to use onPickChange and redo the sort, considering it pushes to the top, but it feels like I'll be doing this every time I need this behavior change.

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants