Any ideas why okgrow:router-autoscroll isn't working?


#1

Any idea why autoscroll wouldn’t work out of the box with the following packages?

I installed the package but not seeing the affect. I can’t find any relevant issues/SOs/ or posts on this forum…

reactive-var
aldeed:collection2
erasaur:meteor-lodash
meteortoys:allthings
momentjs:moment
email
fastclick
gwendall:auth-client-callbacks
check
http
force-ssl
raix:handlebar-helpers
aldeed:template-extension
easy:search
easysearch:components
natestrauser:animate-css
less
matb33:bootstrap-glyphicons
fortawesome:fontawesome
dapearce:material-icons
jonperl:accounts-linkedin
accounts-ui
accounts-password
service-configuration
bozhao:link-accounts
useraccounts:core
useraccounts:unstyled
useraccounts:flow-routing
accounts-google
ejson
lukemadera:autoform-googleplace
dburles:google-maps
aldeed:autoform
cloudspider:autoform-tags-typeahead
mayankchhabra:autoform-switchery
useful:wizard
vazco:universe-autoform-select
cosio55:autoform-cloudinary
aramk:rangeslider
robertlowe:autoform-pickadate
 mpowaga:autoform-summernote
 jeremy:selectize
 comerc:autoform-selectize
 chhib:selectize-bootstrap-3
juliancwirko:s-alert
juliancwirko:s-alert-jelly
kevohagan:sweetalert
webdeb:app-loader
lookback:dropdowns
dsyko:hopscotch
lookback:tooltips
matdutour:popup-confirm
kadira:flow-router
kadira:blaze-layout
zimme:active-route
meteorhacks:ssr
okgrow:router-autoscroll
aldeed:tabular
meteorhacks:kadira
okgrow:analytics

#2

Worth mentioning:

tomwasd:flow-router-autoscroll doesn’t work for me either…

Is there any reason this wouldn’t work with:

{{> Template.dynamic template=main}} ?

Or if all the page navigations are built off of: <a>href='/routename'</a>

Is there a best practice for doing this manually? Maybe in FlowRouters enter trigger?


#3

UPDATE:

It seems that the issue is with chrome. I’m getting the expected behavior in safari.


#4

The same here. Only not working in Chrome. Have you found any solution for Chrome?


How to automatically scroll to top after page reload?
#5

I never figured it out.

I suspect the only word around would be to use scrollTop() jquery in a FlowRouter trigger, or globally, or in either a template on created or rendered… but I couldn’t figure this out. I ended up moving on.

if you figured something out, please let me know!


#6

will do, but I still use IronRouter and it’s not working, either-