Files
owl/src
Julien (jula) 0d0f64c0ed [FIX] hooks: fix useRef in Firefox 109+
Since Firefox 109, appending an HTMLElement into an iframe changes the
prototype of that element from the HTMLElement of the window where it
was created to the HTMLElement of the window of the iframe into which it
is appended. This causes the `instanceof HTMLElement` check in `useRef`
to fail, as `HTMLElement` refers to the window in which owl is declared.

This commit fixes that by adding an extra `instanceof` check that uses
the element's ownerDocument window.
2023-01-30 13:45:31 +01:00
..
2020-04-21 16:23:31 +02:00
2021-07-06 14:14:40 +02:00
2020-04-21 16:23:31 +02:00