I have noticed that a doubleclick on the switch-object creates a weird situation were the callback responds twice, but the knob on the switch only moves once.
I don’t believe this is the intended behaviour, and even though i probably could make weird fix locally, I think that it would be more wise to integrate a solution into LVGL.
This isn’t just my code, because the Widgets demo experiences the same behaviour, and i have included some picture from the demo showing this.
What do you want to achieve?
I just wanted to notify you, that this is a problem, that potentially requires a fix.
Screenshot and/or video
If possible, add screenshots and/or videos about the current state.
Screenshots from https://lvgl.io/demos Widgets demo showing this behaviour:
Normal light mode:
Normal dark mode after one click:
Inverted weird behaviour after doubleclick:
Switch showing dark mode but in reality its light.