palcarazm/bootstrap5-toggle

[BUG] Toggle stay hover on Bootstrap 5.2.0

palcarazm opened this issue · 1 comments

Describe the bug
Toggle stay hover after click on Bootstrap 5.2.0. It's more clear in outline colors

To Reproduce
Steps to reproduce the behavior and minimal code:

  1. Create a toggle outline
  2. Click on the toggle
<input type="checkbox" checked data-toggle="toggle" data-onstyle="outline-success" data-offstyle="outline-danger">
$('input[data-toggle="toggle"]').bootstrapToggle();

Expected behavior
Toggle don't stay hover.

Screenshots
image

Package:

  • Bootstrap 5 Toggle version: 4.3.0
  • Bootstrap version: 5.2.0

Desktop:

  • OS:Win
  • Browser: Chrome
  • Version: 103.0.5060.134

☑️ Task list

  • Develop feature/fix jQuery
  • Develop feature/fix ECMAS
  • Add cypress test coverage
  • Update docs (is needed)

Hi! 👋
Thanks for your issue. You are helping to improve Bootstrap 5 toggle.