theanam/react-awesome-lightbox

The image is selected by pressing quickly on the next or previous image

Opened this issue · 0 comments

x7bit commented

The image is selected (with an annoying blue tint) by pressing quickly on the next or previous image, as quickly as a double click. It does not happen in all browsers. For example it happens in Firefox, but not in Chrome. It can be fixed by adding the following to the img style:

userSelect: "none"