Topic: Lightbox issues with browser history
jarenteria pro asked 4 years ago
Expected behavior Clicking on an image in lightbox to zoom in and navigating to see the rest of the pictures should not create an entry in the browser history.
Actual behavior Currently this component is creating a history entry in the browser per picture viewed in the zoom mode, so then users that want to navigate back to a previous view before the one containing the gallery will need to hit back n times.
Resources (screenshots, code snippets etc.) First, there are 2 entries in my browser history:
Then, navigate through the pics in the gallery in zoom mode, total of images 9:
and now, I want to go back, I will need to click back 9 times:
This is very cumbersome, even more in a mobile web browser
Regards, Jose Renteria
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.10.1
- Device: ALL
- Browser: Chrome, Safari, Firefox, Edge
- OS: Windows, Linux, MacOS, iOS
- Provided sample code: No
- Provided link: No
Konrad Stępień staff commented 4 years ago
Hi @jarenteria,
Thank you for the founded bug!
I checked this problem and we will fix this in the near future.
Best regards.