wokwi / wokwi-elements

Web Components for Electronics and IoT Parts
https://elements.wokwi.com/
MIT License
185 stars 50 forks source link

Slide potentiometer does not work correctly on Firefox #87

Closed matititam closed 2 years ago

matititam commented 3 years ago

link: https://wokwi.com/arduino/projects/301206238041997832

I am not able to move the potentiometers easily. More or less it is impossible sometimes. here is a small video. RTC on wokwi Arduino Simulator bug guess

urish commented 3 years ago

Seems to work well here (Chrome) - which web browser are you using?

If you cancel the rotation of the potentiometer (currently it's 90 degrees in this project), do they work better?

matititam commented 3 years ago

I am using Firefox. Even after rotation, the UI will fail after a couple of clicks. they will stop responding completely.

I checked with Chrome. It works well with chrome.

urish commented 3 years ago

I can confirm this reproduces on FireFox. Moving to wokwi-elements.

urish commented 3 years ago

@Spinkelben mind looking into this? This reproduces for me on Firefox in the slide-potentiometer storybook

For now, a workaround would be to use the keyboard shortcut to move the knob. First, click on it to focus, then up/down for a very subtle movement, page up/page down for coarse movement, and home/end to quickly get to the extremes

urish commented 2 years ago

Fixed!

Spinkelben commented 2 years ago

Sorry for not responding, I somehow missed the notification!