You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the image map demo click through doesn't work in Firefox..it requires two clicks. I had the need to do a click through and found a method that works in Firefox (as well as Chrome and Edge) to fire a click at a specific x,y:
function clickxy(x, y) {
var ev = new MouseEvent('click', {
'view': window,
'bubbles': true,
'cancelable': true,
'clientX': x,
'clientY': y
});
var el = document.elementFromPoint(x, y);
el.dispatchEvent(ev);
}
The text was updated successfully, but these errors were encountered:
This was a variable scope issue and has been fixed in v2.3.3. Please test the updated demo you linked to above (be sure to Shift + F5) and close if it works for you.
Currently, the image map demo click through doesn't work in Firefox..it requires two clicks. I had the need to do a click through and found a method that works in Firefox (as well as Chrome and Edge) to fire a click at a specific x,y:
The text was updated successfully, but these errors were encountered: