Hi. In vaadin 8 we could use scrollIntoView function but what about vaadin 10?
I didn’t find this function here…
Hi. In vaadin 8 we could use scrollIntoView function but what about vaadin 10?
I didn’t find this function here…
Where is vaadin team?
Why nobody answers? Or you can only click dislike?
Why don’t vaadins care of their clients?
JavaVaadin Vaadinjava:
Hi. In vaadin 8 we could use scrollIntoView function but what about vaadin 10?I didn’t find this function here…
I found it and share it here for other users.
Page.getCurrent().getJavaScript().execute("document.getElementById(\"idOfElement\").scrollIntoView()")
Don’t forget to set id to your component.
thank you very much, it worked for me