Support for teleportation of elements #6730
Labels
a:language-slint
Compiler for the .slint language (mO,bF)
enhancement
New feature or request
need triaging
Issue that the owner of the area still need to triage
Vue.js has
<Teleport>
:The following SlintPad example demonstrates how such functionality would be useful to prevent undesired overlaps of spacial component extensions (sometimes also seen in the form of a glow effect to indicate focus):
This video demonstrates the problem. Pay attention to the highlight overlapping some text, although these highlights should always be in the background surface:
overlaps.mp4
Of course, you can flatten your component hierarchy to work around this. But good encapsulation and separation of concerns should be possible.
I had to use the non-existent type
component-ref
. Related issues regarding this: #5082, #2390.The text was updated successfully, but these errors were encountered: