Skip to content

fix: introduced lock-direction of 2 to indicate locking left and right direction

Nicolas requested to merge nicolas/fix/x-lightbox-swipe-behavior into master

Previously, the lock direction indicated either left or right. Now an additional value (2) indicates locking both directions. This value is utilized when the current item is the first and the last item, i.e., there's only one item.

Merge request reports