Skip to content

Fix ScrollView scroll position issues #501

@hubacekj

Description

@hubacekj

There are several use cases where ScrollView does not behave correctly:

1. autoScroll detectEnd feature

  • in the documentation go to the Auto Scrolling section
  • select the option when end is detected
  • click on the Add text button to the point where the element scrolls
  • start clicking on Add text button as fast as you can several times
  • after a while, auto scroll should stop working
  1. scroll position state on ScrollView element resize (not window)
  • in the old documentation go to the Custom Arrows section
  • scroll horizontally to the end so that the end arrow disappears
  • resize the rendering window (not the browser window) so that you are not scrolled to the end anymore
  • the state updates only after you scroll, but it should update on resize of the ScrollView element
  • it works only if you resize the whole browser window
  1. scroll position state sometimes stops working
  • in the product go to any diagnostics page that has horizontally scrolling console (e.g. Quality of Service)
  • try scrolling left end right and make sure to scroll to the start and to the end
  • if you try it long enough, the scroll position state stops working until you refresh the page (you see the arrows despite being scrolled to the start or to the end respectively)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

✅ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions