This is never what a user expects/wants to happen. I think this might be because you're using `onClick` even handler on the overlay. It might be better to use `onMouseDown` instead.
This is never what a user expects/wants to happen.
I think this might be because you're using
onClickeven handler on the overlay.It might be better to use
onMouseDowninstead.