custom-cards / slider-button-card

A button card with integrated slider
MIT License
105 stars 16 forks source link

Fix slider tap mobile #14

Open lizsugar opened 2 years ago

lizsugar commented 2 years ago

Resolves an issue on mobile where tapping needed to be incredibly precise (only my android phone, tapping on my surface worked fine - the touch interfaces must interpret interaction slightly differently).

Fixes a bug in #10 but is a separate branch because it needed features from #5 to implement the fix.

Submitting as a draft PR because this is also doing that thing where a million commits from main branch are being included. The only commits needed are https://github.com/custom-cards/slider-button-card/commit/da8a4ece5b79f4c85f58e442cb6985f3995cc31a and https://github.com/custom-cards/slider-button-card/commit/d0b744f86b56ef1a02e40a6bc968a8dff6cefe15