Swipe down to close pop up #318
Replies: 5 comments 5 replies
-
You can actually do that already, but the movement has to be long for it to work. I'm planning on making that a bit more visual. |
Beta Was this translation helpful? Give feedback.
-
Ahh I see. I wasn't doing it long enough. I'd shorten the requirement on that if possible. |
Beta Was this translation helpful? Give feedback.
-
Hey just wondering if you're looking into this, and if so, I'd like to request a couple of config options please! Is there any chance you could add an option to modify the swipe length when the contents of the popup is:
The idea being, when the content is scrolled down and not in line with the header, a larger swipe would scroll up and close the popup when it hits the top. Likewise, if the content is in line with the popup header, a small swipe would close the popup. If you have an iPhone and swipe around any popups, you can see what I mean. Ps: this bubble card is amazing, deffo the best home assistant mod out there 👌🏽 Thanks |
Beta Was this translation helpful? Give feedback.
-
I've had a look at your code, looks like we can override the default value in the config already: Do you have any docs or can you point me in the right direction so I can take a stab at making changes and test within home assistant? |
Beta Was this translation helpful? Give feedback.
-
You mean how to make a build? How I did it.
@Clooos |
Beta Was this translation helpful? Give feedback.
-
Similar to https://github.com/zanna-37/hass-swipe-navigation this would allow the user to swipe down once the pop up is already at the top of its scrollable area in order to dismiss the card.
Beta Was this translation helpful? Give feedback.
All reactions