When opening the dropdown, focus() the dropdown-toggle BEFORE triggering 'shown.bs.dropdown'

Closes #11281 by merging it (after rebasing & resolving conflicts)