I have an HTML canvas and I have implemented a simple double click function. When the page contains only a canvas, everything works fine. However, as soon as I add, for example, a simple text input field, everytime I double click strange things start to get highlighted (try randomly clicking on certain parts of this page and a similar situation arises).
What's the best way to get around this? Do I need to enclose the canvas in something (I tried enclosing it in a table but that made the situation worse) or do I need to disconnect a specific signal.
Thanks