autofocus doesn't work within modals
Created by: moinakbarali
See here: http://jsfiddle.net/yytbamr1/
When you run first time and click on button
which shows modal
,
you will see input
is focused for a while but when modal
completely opens (finish css transitions) then input
lost focus.
It only happens when modal
is first time open, close it and then open you will not see focus on input
but after re-running fiddle you can see focus again first time.