bootstrap4-toggle
bootstrap4-toggle copied to clipboard
Toggle appears as "on" for a second when created, even if source checkbox is unchecked
It's the first time I use this library, and I noticed something a bit annoying: when a toggle is initialized, even if the corresponding checkbox is not checked, the toggle appears in the "on" position for a brief (but noticeable) moment, before "animating" to the off position.
I've capture a gif of this happening to show what I mean:

Is there a way to avoid this? It's confusing and unnecessary....
Anyway, thanks for any help and congrats on the library, apart from this small issue it's really great.