Reset Scrollbars On State Change #17

Closed
opened 2024-01-22 09:05:55 +00:00 by corbz · 1 comment
Owner

If the list of ticket items is very long, and you scroll down so that the first visible items are now off screen, then reload the ticket items...

The scrollbar will remain far down, despite the list being shorter or longer, which causes a lot of confusion when apparently no tickets have loaded despite no error, the reality is that the scrollbar is beyond the normal limits, hiding the above content.

Explore options to fix this, im not sure what the best place to reset the scrollbar is, but some first thought candidates include:

  • When the state changes
  • In the loadTicketItems function
If the list of ticket items is very long, and you scroll down so that the first visible items are now off screen, then reload the ticket items... The scrollbar will remain far down, despite the list being shorter or longer, which causes a lot of confusion when apparently no tickets have loaded despite no error, the reality is that the scrollbar is beyond the normal limits, hiding the above content. Explore options to fix this, im not sure what the best place to reset the scrollbar is, but some first thought candidates include: - When the state changes - In the `loadTicketItems` function
corbz added the
bug
label 2024-01-22 09:05:55 +00:00
corbz added this to the Ticket Website project 2024-01-22 09:05:55 +00:00
Author
Owner

I have added a line to reset the scrollbar on state change.

I have added a line to reset the scrollbar on state change.
corbz closed this issue 2024-01-23 12:01:16 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: corbz/ticket-website#17
No description provided.