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

[ENH] Page Management: Scroll To Top Of Page on Error for Edit and Add Page #4781

Open
thabaum opened this issue Oct 24, 2024 · 0 comments · May be fixed by #4782
Open

[ENH] Page Management: Scroll To Top Of Page on Error for Edit and Add Page #4781

thabaum opened this issue Oct 24, 2024 · 0 comments · May be fixed by #4782

Comments

@thabaum
Copy link
Contributor

thabaum commented Oct 24, 2024

Oqtane Info

Version - 6.0.0
Render Mode - Static
Interactivity - Server
Database - SQL Server

Describe the enhancement

Currently, when an error occurs during the editing or adding of pages in the control panel/dashboard, the user remains at their current scroll position. This can lead to confusion, as users may not immediately see the error messages displayed at the top of the page.

Steps To Reproduce

  1. Navigate to the Edit Page or Add Page section of the control panel/dashboard.
  2. Enter invalid data or trigger an error (e.g., missing required fields) and click save (be sure to have a small enough window so that you do not see the top of the screen/page).
  3. Observe the error message displayed at the top of the page without any scrolling action.

Expected Behavior

  • When an error occurs during the save operation, the page should automatically scroll to the top to bring the error messages into view.

Actual Behavior

  • The page remains at the user's current scroll position, potentially causing the user to miss important error messages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant