Build Modern Laravel Apps Using - Ep 7, Preserve the Scroll Position

You’ll often want to make an Inertia request to the current page in order to retrieve updated data. However, by default, any clicked link will of course reset the scrollbar’s position to the top of the page. In situations when that’s not desirable, we can leverage the preserve-scroll attribute on the Link component. Watch this full series, track your progress, and participate in a massive Laravel community at Laracasts. Laracasts: Build Modern Laravel Apps Using : Laracasts Twitter: Jeffrey Way Twitter:
Back to Top