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 ScrollView scroll position issues #501

Open
hubacekj opened this issue Oct 9, 2023 · 1 comment
Open

Fix ScrollView scroll position issues #501

hubacekj opened this issue Oct 9, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@hubacekj
Copy link
Contributor

hubacekj commented Oct 9, 2023

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)
@hubacekj
Copy link
Contributor Author

hubacekj commented Oct 9, 2023

cc @mbohal @adamkudrna @dacerondrej @bedrich-schindler

If you know about any other issues related to this topic, feel free to add them.

@github-project-automation github-project-automation bot moved this to 💡Ideas in The Board Oct 9, 2023
@adamkudrna adamkudrna moved this from 💡Ideas to 🔖 To do in The Board Oct 9, 2023
@adamkudrna adamkudrna added the bug Something isn't working label Oct 9, 2023
@adamkudrna adamkudrna changed the title Fix ScrollView scroll position issues ScrollView scroll position issues Oct 9, 2023
@hubacekj hubacekj changed the title ScrollView scroll position issues Fix ScrollView scroll position issues Oct 9, 2023
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
Status: 🔖 To do
Development

No branches or pull requests

2 participants