AmoebeLabs / swiss-army-knife-card

The versatile custom Swiss Army Knife card for Home Assistant allows you to create your unique visualization using several graphical tools, styling options and animations.
232 stars 19 forks source link

Safari: grabbing the slider while dragging doesn't work as in Chrome #144

Closed AmoebeLabs closed 2 years ago

AmoebeLabs commented 2 years ago

Bug report notice

Before you file a bug, make sure that you did not make a configuration mistake. The Swiss Army Knife in its current state does not yet have full configuration sanity checks!

So make sure your problem is not related to that!

Bug description

If you grab the slider and start dragging it, you need to stay "on" the thumb in Safari in order to keep dragging, while in Chrome (and any other browser for that matter), the thumb is "captured" and you can move your mouse or finger anywhere on the screen to drag the thumb.

It seems that pointer grabbing does NOT work on Safari, as many more things... The never-ending story...

To Reproduce

Steps to reproduce the behavior:

  1. Just drag

Expected behavior

Safari -> Chrome!

Screenshots

If applicable, add screenshots to help explain your problem.

Desktop browser (please complete the following information):

Companion App on Smartphone/Tablet (please complete the following information):

Additional context Add any other context about the problem here.

(Optional): Suggested Solution

Any suggested solution to this bug.