remove isNodeFromTemplate
hacks to expose elements without an ownerKey
#1252
Labels
BUG P1
bug
need consensus
issues marked as such need some discussion
Synthetic Shadow
Synthetic shadow DOM polyfill
Description
The method
isNodeFromTemplate
is confusing on itself, its semantics are really about whether a node is inside a shadow or not, maybe we should rename it toisNodeShadowed
or something similar.There is one use-case today that is forcing us to break those semantics for a very edge case:
The Problem
lwc:dom="manual"
flag specified, the node is considered as not part of the shadowRoot when running in synthetic mode. This is considered a feature for flexipages inserting aura elements inside the flexipage, while those aura elements are accessible via a global document query.This is plain wrong, and we should fix it, but first we need to investigate how to help those folks that are using this as a feature.
The text was updated successfully, but these errors were encountered: