By default after AJAX refresh page is scrolled to the top of updated view.

In my case i have view in block that were updated by flag, flag is displayed in view in main content area.
When user click on flag - page is scrolled to the top of that block and user looses his position in main view.

I added special option in view AJAX configuration - admin can disable scrolling for some views.

I think this can be useful feature.

Comments

Eugene Fidelin’s picture

Version: 7.x-1.0-beta1 » 7.x-1.1
Assigned: Unassigned » Eugene Fidelin
Status: Needs review » Fixed

Implemented

Eugene Fidelin’s picture

Status: Fixed » Closed (fixed)
BeaPower’s picture

Still doesn't work for me... view is scrolled to top of page. I am using a stable release with this added as default.

dzon’s picture

Issue summary: View changes

This option only works for me it seems when only a single flag is displayed. I created a view with several flags displayed and with flags that flag other flags via Rules under certain conditions and the auto scroll disabler option no longer works.

ibuildit’s picture

Same here, it still scrolls to the top. Would be awesome to get a fix for this, I'm a bit PHP challenged. :)

delacosta456’s picture

hi ..
same issue for me to here exactly as describe @dzon.

thanks