Files
odoo_source/addons/web
Samuel Degueldre aa94c0da9a [FIX] web: make sure owl-compatibility properly calls hooks in iframes
Previously, some lifecycle hooks were not called when using a
ComponentWrapper in an iframe, this is because to know whether we should
call mounted, we check whether the target/el is in the document, but
when using iframes, the document in question is not the top-level
document and so the check returns false.

This commit fixes that by checking if the elements are inside their
ownerDocument instead.

closes odoo/odoo#88435

Signed-off-by: Géry Debongnie <ged@odoo.com>
2022-04-12 15:48:52 +02:00
..
…
2022-02-10 07:46:12 +00:00