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

Preserve order on dynamic inputs #352

Open
tesseralis opened this issue Jun 8, 2022 · 0 comments
Open

Preserve order on dynamic inputs #352

tesseralis opened this issue Jun 8, 2022 · 0 comments
Labels
Feature New feature or request Inputs Primitive inputs like number scrubber, select, etc

Comments

@tesseralis
Copy link
Contributor

There's a bit of friction when I add a dynamic input and I have to scroll around to see where it got added. Intuitively, I would expect that input to be added close to the field (at the top).

I was thinking we could keep a keyOrder array either as internal state or an argument and order the dynamic keys based on that?

@johno johno added Feature New feature or request Inputs Primitive inputs like number scrubber, select, etc labels Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Inputs Primitive inputs like number scrubber, select, etc
Projects
None yet
Development

No branches or pull requests

2 participants