satguru
(satguru srivastava)
1
In Vaadin Framework, UI has the method scrollIntoView(component).
So one could do UI.getCurrent().scrollIntoView(component) to scroll to a component.
In Vaadin Flow, UI does not have the method scrollIntoView(component).
So how does one scroll to a component in a page in Vaadin Flow?
ollit.1
(Olli Tietäväinen)
2
Hi,
component.getElement().callFunction("scrollIntoView"); should do it
Heloir
(Heloir Arthur)
4
THANKS, its work perfectly !
Jang_de
(Jang de Blannen)
5
Looks like components now have a method .scrollIntoView()
Check out: https://cookbook.vaadin.com/scroll-into-view