DataTable.JS creates a bug in the Collapse component of Bootstrap 5.3

DataTable.JS creates a bug in the Collapse component of Bootstrap 5.3

IT.HotelIT.Hotel Posts: 1Questions: 1Answers: 0

If I include the DataTable.js library in later or earlier, components like bootstrap 5.3 collapse stop working.

  <a class="btn btn-primary" data-bs-toggle="collapse" data-bs-target="#collapseExample" role="button" aria-expanded="false" aria-controls="collapseExample">
  <i class="fa-solid fa-filter fa-bounce fa-lg"></i> Filtrar
  </a> 

In the previous case, it shows the content, but when clicking again it does not hide it due to a conflict with DataTable.js

Solution?

Answers

  • allanallan Posts: 60,903Questions: 1Answers: 9,927 Site admin

    I'm happy to take at a test case showing the issue. The problem you describe isn't one known to me, so a test case that I can use to diagnose and resolve the issue would be useful.

    Allan

Sign In or Register to comment.