-
Notifications
You must be signed in to change notification settings - Fork 0
Feature Performance
tempus2016 edited this page Jun 24, 2026
·
1 revision
By default Tabdeck keeps every tab's card mounted (so state and scroll position survive switching). For memory-heavy dashboards (lots of cameras/maps), set unmount_hidden: true to keep only the active tab's card in the DOM.
type: custom:tabdeck-card
unmount_hidden: true
tabs: [ ... ]- Only the active panel renders its card; switching re-attaches the target card.
- Trade-off: hidden cards aren't kept warm, so re-showing rebuilds the DOM. Combine with
lazyto also defer the first build.
With swipe enabled, swipe_wrap: true makes swiping past the last tab wrap to the first (and vice-versa) instead of stopping at the ends.
type: custom:tabdeck-card
swipe: true
swipe_wrap: true
tabs: [ ... ]The tab bar's resize handling is debounced to one reposition per animation frame, so the indicator stays smooth during window/layout changes.
Both options are available in the visual editor (Unmount hidden tabs, Swipe wraps around ends).
Concepts
Features