📜 ⬆️ ⬇️

Javascript event coordinates IE

Good day. Brothers, there is another question in the continuation of this , where I tried to determine the coordinates of the event in the context of the event element, thank God he did it all works fine, thanks guys. And yet I didn’t notice such a situation for quite a long time: in IE, when an event occurs somewhere in 3-5 pixels from the left edge, then the current coordinates become negative. Well, in general, see

Internet Explorer
Internet Explorer

Firefox
')
Firefox

How can I solve this problem of Microsoft? can someone already faced brothers?

Thank you all in advance! :)

Source: https://habr.com/ru/post/64085/


All Articles