At times, I enable the user to click on the <li>
or <span class="icon">
elements, but if they happen to click twice, it causes a bit of chaos and spreads the blue selection all over :/
To address this issue, I have come up with two solutions:
1- Encasing the element in an <a href="javascript:;">
2- Applying the css property: user-select: none;
I would like to inquire if there is a more effective solution other than the ones mentioned above.
Thank you very much