Describe the bug
Dragging of the window makes the current slide get stuck halfway off the screen.
In these cases it would be more user friendly for the transition to the next (or previous) slide to activate as soon as the user exits the screen.
This also seemed to occur on Android if I dragged to the very edge of the screen.
Are you able to reproduce the bug in the demo site
Yes
To Reproduce
Steps to reproduce the behavior:
- Go to demo site
- Make your browser window smaller
- Click and drag one of the example images off the screen and release the mouse button
- See error
Expected behavior
A transition should occur immediately when the cursor leaves the screen while dragging.
Post the code you are using
// occurs with this config, but also on the demo site
const lightbox = GLightbox({
selector: '.glightbox',
touchNavigation: false,
loop: true,
});
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop: