It may not be a direct answer to the question, but a recent addition to the official documentation describes how jQuery can be used to turn off transitions completely simply:
$.support.transition = false
Setting the transition .collapsing CSS to none as indicated in the accepted answer removed the animation. But this - in Firefox and Chromium for me - creates an unwanted visual problem when the browser crashes.
For example, visit the navbar download example and add CSS from the accepted answer:
.collapsing { -webkit-transition: none; transition: none; }
What I see at the moment is when the navigation bar collapses, the bottom border of the navbar instantly becomes two pixels instead of one, and then confuses back. Using jQuery, this artifact does not appear.
Steven Maude May 2 '15 at 10:37 2015-05-02 22:37
source share