appendToParentPortal
Description
If true
, the portal will check if it is within a parent portal
and append itself to the parent's portal node.
This provides nesting for portals.
If false
, the portal will always append to document.body
regardless of nesting. It is used to opt out of portal nesting.
Type
boolean
Default
true