v2.6.1
Simple Swipe Card v2.6.1
Bug Fixes 🩹
- Complex Dashboard Rendering: Completely rewrote the card building process to fix rendering issues on dashboards with lots of content. Previously, cards would sometimes appear with incorrect dimensions on first load - showing full-width instead of carousel mode, or displaying the wrong card in single mode. This happened because the card was trying to calculate its layout before Home Assistant's grid had fully settled. The new approach actively waits for dimensions to stabilize and validates all calculations before displaying anything. (closes #47)
- Dropdown Menu Overflow: Fixed issue where dropdown lists in entities cards would be clipped to the boundaries of the simple-swipe-card container. Dropdown menus now properly expand beyond the card boundaries, making them fully usable regardless of the card's position on your dashboard (closes #58)
- Pagination Element Error: Fixed the following error by adding a null-check:
simple-swipe-card.js:706 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'children')
at simple-swipe-card.js:706:29148
at Array.forEach (<anonymous>)
at _t.Wi (simple-swipe-card.js:706:28854)
at simple-swipe-card.js:706:17958
- Layout-Card Dashboard Compatibility: Fixed critical issue where Simple Swipe Card would fail to load or display incorrectly when used inside custom layout cards (layout-card, masonry-layout, horizontal-layout, vertical-layout, grid-layout).