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

Auto-scroll to the first invalid form field. #873

Closed
Octobug opened this issue Mar 21, 2024 · 0 comments
Closed

Auto-scroll to the first invalid form field. #873

Octobug opened this issue Mar 21, 2024 · 0 comments
Assignees
Labels
enhancement Enhancement request
Milestone

Comments

@Octobug
Copy link
Contributor

Octobug commented Mar 21, 2024

Is your enhancement request related to a problem? Please describe

You fill some fields, scroll to the bottom of a page, and click the "Post your question". But nothing happened. You realize that you must have forgotten filling some fields, so you scroll back by yourself. This is a bit annoying especially on a 'short' screen.

Describe the solution you'd like

When there is still an invalid form field out of the viewport (or no matter it is in the viewport or not), Answer auto-scrolls to that field for the user. If there are multiple invalid fields, it scrolls to the first one.

Describe alternatives you've considered

Or at least, the UI pop up something to click for the user. Then the clicking trigger the auto-scrolling.

@Octobug Octobug added the enhancement Enhancement request label Mar 21, 2024
@fenbox fenbox added this to the v1.3.1 milestone Mar 26, 2024
@shuashuai shuashuai self-assigned this Apr 25, 2024
@fenbox fenbox closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement request
Projects
Archived in project
Development

No branches or pull requests

3 participants