Closing Carousel modal makes page jump to top
-
This is not necessarily a WP4.0 or Jetpack 3.1.1 related issue as I saw it happening in previous versions also.
When having long pages, with multiple Tiled Galleries, when closing an open Carousel page jumps to top of the page instead of keeping the visitor at the initial (visited gallery) position. The behavior is annoying as each time a visitor opens the Carousel from a lower positioned gallery.
https://plugins.trac.wordpress.org/browser/jetpack/trunk/modules/carousel/jetpack-carousel.js#L381
I assume that the code above (L381-L388) is the faulty one as it rewrites the history, instead of putting the hash of the opened gallery (if there is one, if not, then it should be).Does anyone have any idea about this?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Closing Carousel modal makes page jump to top’ is closed to new replies.