kadirahq / blaze-layout

Layout Manager for Blaze (works well with Meteor FlowRouter)
MIT License
198 stars 62 forks source link

Go to top of page on route change? #36

Closed sergical closed 9 years ago

sergical commented 9 years ago

On some routes i need the page to scroll up to the top instead of staying in the same position as on the route coming from. is there an easy way to do it or do i need to be doing that with jQuery?

arunoda commented 9 years ago

You can implement that via jQuery using FlowRouter triggers.

On Thu, Jul 23, 2015 at 9:01 PM Sergiy Dybskiy notifications@github.com wrote:

On some routes i need the page to scroll up to the top instead of staying in the same position as on the route coming from. is there an easy way to do it or do i need to be doing that with jQuery?

— Reply to this email directly or view it on GitHub https://github.com/meteorhacks/flow-layout/issues/36.

sergical commented 9 years ago

Thanks @arunoda !