Regression: edit reason input not autofocussed


(Barry van Oudtshoorn) #1

It looks to me as though @sam’s fix for this has regressed; in Firefox, when I click “add edit reason”, the input isn’t focussed automatically.


(Jeff Atwood) #2

Yeah this regressed… @joffreyjaffeux can you take a look? Clicking add edit reason should definitely trigger focus, because we already clicked / tapped…


(Joffrey Jaffeux) #4

I’m not actually sure it “regressed” as in the code didn’t change, we still have autofocus on the input and it’s still working for me “the first time” but not on the second time.

I just pushed a commit which will make this kind of behaviour much more reliable:


(Joffrey Jaffeux) #5