Created by: alpadev
Closes https://github.com/twbs/bootstrap/issues/33682
Background
Our inputs are using transitions for the focus effect. If a nested input got focus right before clicking the collapse button, the input triggers a transitionend event that causes the transition of the collapse module to end prematurely.