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

Fix Scroll to Top and Scroll to Bottom #1542

Open
dhaselhan opened this issue Dec 20, 2024 · 0 comments · May be fixed by #1559
Open

Fix Scroll to Top and Scroll to Bottom #1542

dhaselhan opened this issue Dec 20, 2024 · 0 comments · May be fixed by #1559
Assignees
Labels
bug Something isn't working

Comments

@dhaselhan
Copy link
Collaborator

dhaselhan commented Dec 20, 2024

Describe the Bug
The state for "scroll to top" and "scroll to bottom" only updates when the user manually scrolls the page. Clicking the respective buttons does not immediately update the state, causing the buttons to display incorrect behavior.

Expected Behaviour
When users click the "scroll to top" or "scroll to bottom" buttons, the state should update immediately, ensuring the buttons function accurately and reflect the current scroll position.

Actual Behaviour
The state remains unchanged when users click the "scroll to top" or "scroll to bottom" buttons. It only updates when the user manually scrolls the page, creating an inconsistent user experience.

Implications
This behavior may confuse users and lead to unnecessary interactions. The buttons do not provide real-time feedback, potentially degrading the user experience and usability of the application.

Steps To Reproduce
User/Role: [e.g., Admin/User]

  1. Navigate to a page with the "scroll to top" and "scroll to bottom" buttons.
  2. Scroll the page manually and observe that the state updates as expected.
  3. Click the "scroll to top" or "scroll to bottom" button.
  4. Observe that the state does not update until the user scrolls manually.

Additional Note
Ensure the state updates immediately upon clicking the buttons, regardless of whether the user manually scrolls the page.

@dhaselhan dhaselhan added the bug Something isn't working label Dec 20, 2024
@prv-proton prv-proton self-assigned this Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants