Help

Re: Custom Block Scroll

574 0
cancel
Showing results for 
Search instead for 
Did you mean: 
Khyati_Majmudar
4 - Data Explorer
4 - Data Explorer

The custom block seems to retain the scroll position when moving between components which get replaced based on State. Is there any way to always load page with scrolled at top of Block UI?

1 Reply 1
David_Wisdom
4 - Data Explorer
4 - Data Explorer

You can can use elem.scrollIntoView(true) for the root element of your block anytime the page re-renders