Within my container div, there is a slideshow element that can be clicked. However, I noticed that when double clicking on the next or previous button, some tags following the slideshow element become highlighted. I attempted to prevent this by disabling the selection in the next div, but then the double click function would just select the next div instead.
I have tried using the following CSS:
-webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
Unfortunately, this solution did not work for me because I only want to protect the child elements of a specific div from being selected with a double click from another div. Is there a way to achieve this while preserving the ability to select other elements within the div?