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

Scroll to Error #19

Closed
ghost opened this issue Jan 17, 2019 · 4 comments
Closed

Scroll to Error #19

ghost opened this issue Jan 17, 2019 · 4 comments
Labels
help wanted Extra attention is needed
Milestone

Comments

@ghost
Copy link

ghost commented Jan 17, 2019

This is looking amazing. Great work !!

One thing i noticed is that on a large form ( like the example ) if you press submit at the bottom and there is an error, the user has to scroll up to find it.

It might be possible to scroll to the first error automatically ? No sure how flutter supports this. I know there was lots of talk about Tabbing through fields.
https://medium.com/flutterpub/flutter-keyboard-actions-and-next-focus-field-3260dc4c694

  • looks like maybe it is fixed & supported now :)

Also on a Tablet, where the classic layout is the List on the left and the Form on the right, have to test the scroll to error also to make sure it works.

@danvick
Copy link
Collaborator

danvick commented Jan 18, 2019

Seems useful. It's an issue I've noticed myself.
Thanks for your contribution.

@ghost
Copy link
Author

ghost commented Feb 4, 2019

@danvickI found the solution: https://flutter.io/docs/cookbook/forms/focus

It works with the keyboard, but also is programatic and designed for the exact use case of a validation error and needing to scroll the screen to the text field with the error :)

Looks like an easy one to fix.

@WilliamCunhaCardoso
Copy link
Collaborator

Is it still an error?

@WilliamCunhaCardoso WilliamCunhaCardoso added the awaiting author response Waiting for author of issue to respond with more info label Jun 9, 2022
@deandreamatias
Copy link
Collaborator

Due to lack of response and an old error, I will close this issue.
If the bug still exists, feel free to open a new issue

@deandreamatias deandreamatias removed the awaiting author response Waiting for author of issue to respond with more info label Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants