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

[Demo] Fix ReviewList scrolls to top when editing a review #9958

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

djhi
Copy link
Contributor

@djhi djhi commented Jun 26, 2024

Problem

When clicking on a review to edit it in the demo, the page scrolls back to the top. This is because, scrolling to the top of the page when navigating is the default.

Solution

Don't use the default redirect and implement it specifically for this page.

How to test

  • run the demo
  • navigate to the review list
  • set its page size to 50
  • scroll down
  • click on a review

=> Observe the page does not scroll to the top anymore

@djhi djhi added the RFR Ready For Review label Jun 26, 2024
@slax57 slax57 added this to the 5.0.3 milestone Jun 27, 2024
@slax57 slax57 merged commit 39bab7e into master Jun 27, 2024
14 checks passed
@slax57 slax57 deleted the fix-demo-review-edit-scroll branch June 27, 2024 11:39
@slax57 slax57 changed the title Fix ReviewList scrolls to top when editing a review [Demo] Fix ReviewList scrolls to top when editing a review Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants