blockui icon indicating copy to clipboard operation
blockui copied to clipboard

Blocking an anchor doesn't stop the user from clicking on that anchor

Open rwencel opened this issue 11 years ago • 0 comments

Block an anchor on the page, then click on it. It will trigger the anchor instead of being blocked.

I tried adding "click" to the bind function, but the handler function is still never called.

I updated blockOverlay with an onclick event handler that returns false and stopPropagation/preventDefaults to prevent the anchor from seeing the click, but that doesn't seem right.

rwencel avatar Dec 13 '14 13:12 rwencel