- Affected version
- 2.3.4
Steps to reproduce
The page is still at the same scroll position as it was before opening the lightbox
Actual Behaviour
The page is scrolled down to the last image
Impact
This seems to be a regression from XF 2.2 behaviour where this did not happen.
Suggested Fix
Set Fancybox option
- Enable option Lightbox displays all attached thumbnails on page
- View a thread that has embedded thumbnails in multiple posts
- Click on the first thumbnail
- Use the lightbox and click Next until the last image is shown
- Close the lightbox by clicking the X
The page is still at the same scroll position as it was before opening the lightbox
Actual Behaviour
The page is scrolled down to the last image
Impact
This seems to be a regression from XF 2.2 behaviour where this did not happen.
Suggested Fix
Set Fancybox option
placeFocusBack
to false