Unplanned
Last Updated: 24 Oct 2022 11:32 by Jef
Jef
Created on: 24 Oct 2022 11:32
Category: TabStrip
Type: Bug Report
0
When using Teleport in the Tab template it is rendered for every tab

Describe the bug
When using Teleport in the Tab template it is rendered for every tab

To Reproduce
https://stackblitz.com/edit/7malny-zw7ibq?file=public%2Findex.html,src%2Fmain.js,src%2Fmain.vue

The teleport is added in the tab template

Current: result it is rendered several times at the bottom
Expected: it is rendered only once at the bottom

Workaround :
Only render the teleport if the desired tab is selected: https://stackblitz.com/edit/7malny-gqxkma?file=public%2Findex.html,src%2FTabOne.vue,src%2Fmain.vue

0 comments