@Bram_Kragten and @thomasloven I use your swiper card and I try to use it in a popup card. Now the cards will display fine, but it takes from 2 to 5 seconds to be able to swipe on an iphone x (it is scrollable but it will hang halfway the animation). Once it is loaded after those 2/5 seconds it will work perfectly fine, until you close the popup and open it again.
The swiper card does not do this on a regular view. I have tried it with different configs and I even switched to browser-mod to see if that would be any better (and actually it has a little bit but only when the card is bugging like the screenshot)
As you can see in the screenshot it is bugging (it shows the card twice!) but funny thing is, when the card does this it will work immediately, most of the time.
If it shows it the way it should be, the screen will hang halfway for a few seconds like this:
This problem only occurs with the swiper card on a popup card (be it via popup-card or browser-mod, they both have similar results). It works perfectly fine with any other card. Any ideas?
Is it possible to navigate directly to a card within the swiper? I tried looking around, but didnât see any related questions/answers.
I have button cards for each room/room temp, and a swiper card below, which includes graphs of the room temperatures. Iâd like to click the temperature button for a room and have the associated graph display in the swiper. I think this would be possible using lovelace-state-switch, but Iâd have to give up the swiper function.
Conditional cards would be a better solution than state-switch as this is a core feature. I donât think it is possible though what you ask. I was looking for this as well. But swiper gives me too much headaches, it doesnât run smooth. It always hangs for 2 to 5 seconds when used in a popup card and I even tried to put the views in swiper. This looks amazing and the coverflow effect really is cool. But it is so laggy that I got frustrated using it at all.
It does work fine on standard views when I donât use many cards. For graphs like your situation this card works perfectly fine.
Iâd try a conditional card anyways, saves you installing state-switch (unless you are looking for user-specific cards you can do everything with conditional cards).
I hope one day this swipe card will be able to render entire lovelace views without lag (and without the accidental clicks on swipe) this card would be so awesome. (It still is but only for smaller projects).
@Nesty, here is the code I use for my thermostat cards. I tap the arrows to change between the up and dowstairs tstats. Look at the parameters specifically.
Has anyone tried using the direction: âverticalâ in order to vertically navigate through cards instead of horizontally? I havenât figured out where to insert this parameter mentioned in the https://swiperjs.com/api/ page.
@Bram_Kragten I know it is still a beta, but I would like to mention that the swiper-card doesnât work with HA 0.101.x as of yet. See screenshots below what I mean. I have tried to remove everything but the swiper-card and it seems the swiper-card is causing this problem (when commenting the swiper card it works perfectly fine). It also works fine with older versions (and the current stable version).
Like I said it is still in beta, though I still felt I should mention it as it might be something breaking.
Is it possible to use a navigate type command to jump between slide cards.
Iâd like a button without the panel that would jump to another panel within the slide?
Hi
Thanks alot for the great work with this card.
I made a autoplay swipe-card with 3 weather location cards that plays nice.
But if you go to another tab/screen and then come back again the autoplay is disabled (or not animating anymore). Going to the hamburgermenu (or manually draging the weather cards) and updating the lovelace configuration gets the autoplay going again
This wonât fix the cards stopping the animation, however simply touching a single card (tap, swipe, slide whatever) will make the animation start again. This is how I use it in my own setup.