How can I speed up the mobile dropdown in the Bootstrap navbar?

How can I speed up the mobile dropdown in the Bootstrap navbar?

On the mobile phone, there is a dropdown menu on the navbar. But it is far too slow.
Is it JQuery based? Or is it CSS transition based? How do I speed it up?

Solutions/Answers:

Solution 1:

It is CSS transition based, try changing the height value from the transition property of this class.

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  -webkit-transition: height .35s ease;
       -o-transition: height .35s ease;
          transition: height .35s ease;
}

References

Related:  Column ordering in Bootstrap 4 with push/pull and col-md-12