-
Notifications
You must be signed in to change notification settings - Fork 105
Open
Description
If you have a slideshow/gallery with a prev/next link in the Lightcase overlay and you click on prev or next in quick succession, then the actual href of these links gets executed. Since the href of these buttons is just # either of the following things will haben:
- The browser scrolls to the top of the current page.
- The browser interprets the
hrefrelative to a<base>if present and then loads the<base>(i.e. base href +#).
Here is an example: https://jsfiddle.net/wmyndutj/
To make the issue more visible I have also inserted a <base>. So when you double click the prev or next button, the browser will load a new URL.
Metadata
Metadata
Assignees
Labels
No labels