9

On some Android devices (native browser) elementFromPoint() is broken when using the overflow:auto CSS property in many situations, so that it returns a parent (the one with overflow:auto) of the correct element.

Is there a complete, fast replacement/polyfill for that function that resembles the native function, but is written in JavaScript?

I am aware of the offsetXXXXX properties, but when adding scrolling and position/overflow CSS settings things are becoming complex...

Community
  • 1
  • 1
Udo G
  • 12,572
  • 13
  • 56
  • 89
  • This is still an issue in 2020! If you were to test in Chrome on most popular Android device (chrome 61) elementFromPoint() just doesn't work. – Artem Mar 30 '20 at 22:49

0 Answers0