ScrollTo Widget


On the ScrollTo documentation it’s given an example with Hits Component being wrapped by the ScrollTo Component.

Is it possible to wrap any other component beside the Hits Component? I’ve tried without success. I need to scroll to the top of my window and my Hits Component it’s half way.


Hello @orlando.goncalves,

Yes this should be the case, internally it uses element.scrollIntoView() this might be the issue with your layout.

In order to help you or submit you an other solution, could you provide me a code example so I can reproduce the issue?

Cheers, Maxime.