Re-reset the input right after a focus event
Re-reset the input right after a focus event

It seems recent versions of Chrome/Blink fire the handler first,
and then clear the selection.

Issue #1730

amsul/CodeMirror,mtaran-google/CodeMirror,MarcelGerber/CodeMirror,isdampe/CodeMirror,bocharsky-bw/CodeMirror,agendor/CodeMirror,jayaprabhakar/CodeMirror,Dominator008/CodeMirror,DustinH/CodeMirror,kolya-ay/CodeMirror,apatawari/CodeMirror,rustemferreira/CodeMirror,Allenice/CodeMirror,angelozerr/CodeMirror,hackmdio/CodeMirror,dudb/CodeMirror,SidPresse/CodeMirror,d0liver/CodeMirror,ksanaforge/CodeMirror,isdampe/CodeMirror,tpphu/CodeMirror,jkaplon/CodeMirror,joshterrell805-historic/CodeMirror,abdelouahabb/CodeMirror,ficristo/CodeMirror,sgoo/CodeMirror,vincentwoo/CodeMirror,karthikeyansam/CodeMirror,InternetGuru/CodeMirror,webida/CodeMirror,loopspace/CodeMirror,nightwing/CodeMirror,nawroth/CodeMirror,bgrins/CodeMirror,kerabromsmu/CodeMirror,sourcelair/CodeMirror,webida/CodeMirror,hccampos/CodeMirror,davidpham87/CodeMirror,NumbersInternational/CodeMirror,isdampe/CodeMirror,wingify/CodeMirror,kevinushey/CodeMirror,mightyguava/CodeMirror,sourcelair/CodeMirror,karevn/CodeMirror,karevn/CodeMirror,xeronith/CodeMirror,InternetGuru/CodeMirror,pjkui/CodeMirror,skylarkcob/CodeMirror,ksanaforge/CodeMirror,SidPresse/CodeMirror,jpolitz/CodeMirror,abdelouahabb/CodeMirror,skylarkcob/CodeMirror,Allenice/CodeMirror,cintiamh/CodeMirror,anthonygego/CodeMirror,cben/CodeMirror,pabloferz/CodeMirror,antimatter15/CodeMirror,r7kamura/CodeMirror,webida/CodeMirror,MarcelGerber/CodeMirror,manderson23/CodeMirror,dudb/CodeMirror,ficristo/CodeMirror,Aliccer/CodeMirror,vanloswang/CodeMirror,kerabromsmu/CodeMirror,xeronith/CodeMirror,codio/CodeMirror,mizchi/CodeMirror,kuangyeheng/CodeMirror,TDaglis/CodeMirror,sekcheong/CodeMirror,bfrohs/CodeMirror,supriyantomaftuh/CodeMirror,ejgallego/CodeMirror,dudb/CodeMirror,hackmdio/CodeMirror,karthikeyansam/CodeMirror,fpco/codemirror,matthewbauer/CodeMirror,vanloswang/CodeMirror,notepadqq/CodeMirror,Icenium/CodeMirror,trumanliu/CodeMirror,GerHobbelt/CodeMirror2,bfrohs/CodeMirror,wingify/CodeMirror,fmoliveira/CodeMirror,amshali/CodeMirror,kuangyeheng/CodeMirror,ssxxue/CodeMirror,EasonYi/CodeMirror,loopspace/CodeMirror,pjkui/CodeMirror,tpphu/CodeMirror,increpare/CodeMirror,loopspace/CodeMirror,bgrins/CodeMirror,sanyaade-iot/CodeMirror,dbarnett/CodeMirror,hccampos/CodeMirror,flyskyko/CodeMirror,matthewbauer/CodeMirror,ssxxue/CodeMirror,Carreau/CodeMirror,mizchi/CodeMirror,systay/CodeMirror,apatawari/CodeMirror,kevinushey/CodeMirror,camellhf/CodeMirror,Jisuanke/CodeMirror,NumbersInternational/CodeMirror,xeronith/CodeMirror,happibum/CodeMirror-main,camellhf/CodeMirror,CartoDB/CodeMirror,melpon/CodeMirror,fmoliveira/CodeMirror,mtaran-google/CodeMirror,sanyaade-iot/CodeMirror,schanzer/CodeMirror,apatawari/CodeMirror,Aliccer/CodeMirror,elisee/CodeMirror,kerabromsmu/CodeMirror,d0liver/CodeMirror,mightyguava/CodeMirror,buchslava/CodeMirror,KamranMackey/CodeMirror,Ermlab/CodeMirror,hackmdio/CodeMirror,gkoberger/CodeMirror,jessegrosjean/CodeMirror,kk9599/CodeMirror,amshali/CodeMirror,bocharsky-bw/CodeMirror,rrandom/CodeMirror,jkaplon/CodeMirror,mightyguava/CodeMirror,pabloferz/CodeMirror,MarcelGerber/CodeMirror,notepadqq/CodeMirror,sourcelair/CodeMirror,NeZaMy/CodeMirror2,rasata/CodeMirror,antimatter15/CodeMirror,wbinnssmith/CodeMirror,davidpham87/CodeMirror,InternetGuru/CodeMirror,adobe/CodeMirror2,axter/CodeMirror,vanloswang/CodeMirror,bluesh55/CodeMirror,djadmin/CodeMirror,NeZaMy/CodeMirror2,anthonygego/CodeMirror,NumbersInternational/CodeMirror,fmoliveira/CodeMirror,d0liver/CodeMirror,dbarnett/CodeMirror,michaelerobertsjr/CodeMirror,crazy4chrissi/CodeMirror,shiren/CodeMirror,shiren/CodeMirror,grzegorzmazur/CodeMirror,belph/CodeMirror,ashmind/CodeMirror,jayaprabhakar/CodeMirror,ZombieHippie/CodeMirror,ksanaforge/CodeMirror,trumanliu/CodeMirror,manderson23/CodeMirror,KamranMackey/CodeMirror,ThebingServices/CodeMirror,morrisonwudi/CodeMirror,pjkui/CodeMirror,michaelerobertsjr/CodeMirror,ZombieHippie/CodeMirror,DustinH/CodeMirror,jpolitz/CodeMirror,vincentwoo/CodeMirror,Navaneethsen/CodeMirror,adobe/CodeMirror2,tpphu/CodeMirror,jkaplon/CodeMirror,sekcheong/CodeMirror,EasonYi/CodeMirror,sgoo/CodeMirror,supriyantomaftuh/CodeMirror,dperetti/CodeMirror,belph/CodeMirror,mihailik/CodeMirror,philuchansky/CodeMirror,grzegorzmazur/CodeMirror,abdelouahabb/CodeMirror,ssxxue/CodeMirror,ThebingServices/CodeMirror,grzegorzmazur/CodeMirror,ZombieHippie/CodeMirror,nightwing/CodeMirror,melpon/CodeMirror,TDaglis/CodeMirror,Jisuanke/CodeMirror,rasata/CodeMirror,cintiamh/CodeMirror,Icenium/CodeMirror,sanyaade-iot/CodeMirror,dbarnett/CodeMirror,qweasd1/CodeMirror,fivetran/CodeMirror,thomasjm/CodeMirror,buchslava/CodeMirror,kk9599/CodeMirror,agendor/CodeMirror,camellhf/CodeMirror,kangkot/CodeMirror,fpco/codemirror,systay/CodeMirror,webida/CodeMirror,codio/CodeMirror,pabloferz/CodeMirror,philuchansky/CodeMirror,anthonygego/CodeMirror,Carreau/CodeMirror,axter/CodeMirror,crazy4chrissi/CodeMirror,vincentwoo/CodeMirror,symbla/CodeMirror,DustinH/CodeMirror,dperetti/CodeMirror,jpolitz/CodeMirror,Icenium/CodeMirror,bluesh55/CodeMirror,pinbe/CodeMirror,karevn/CodeMirror,rasata/CodeMirror,Aliccer/CodeMirror,cben/CodeMirror,manderson23/CodeMirror,rustemferreira/CodeMirror,axter/CodeMirror,flyskyko/CodeMirror,fivetran/CodeMirror,rrandom/CodeMirror,rustemferreira/CodeMirror,INTELOGIE/CodeMirror,flyskyko/CodeMirror,AlanWasTaken/codemirror,kk9599/CodeMirror,codio/CodeMirror,TechnicalPursuit/CodeMirror,gkoberger/CodeMirror,djadmin/CodeMirror,jhnesk/CodeMirror,TechnicalPursuit/CodeMirror,AlanWasTaken/codemirror,INTELOGIE/CodeMirror,qiankun007/CodeMirror,qiankun007/CodeMirror,mihailik/CodeMirror,symbla/CodeMirror,joshterrell805-historic/CodeMirror,pinbe/CodeMirror,notepadqq/CodeMirror,sekcheong/CodeMirror,bluesh55/CodeMirror,ashmind/CodeMirror,r7kamura/CodeMirror,Ermlab/CodeMirror,bgrins/CodeMirror,nawroth/CodeMirror,schanzer/CodeMirror,kuangyeheng/CodeMirror,antimatter15/CodeMirror,philuchansky/CodeMirror,angelozerr/CodeMirror,bfrohs/CodeMirror,rrandom/CodeMirror,EasonYi/CodeMirror,systay/CodeMirror,kangkot/CodeMirror,thomasjm/CodeMirror,ejgallego/CodeMirror,alur/CodeMirror,CartoDB/CodeMirror,Dominator008/CodeMirror,Allenice/CodeMirror,jhnesk/CodeMirror,jessegrosjean/CodeMirror,matthewbauer/CodeMirror,amsul/CodeMirror,jayaprabhakar/CodeMirror,supriyantomaftuh/CodeMirror,AlanWasTaken/codemirror,elisee/CodeMirror,happibum/CodeMirror-main,schanzer/CodeMirror,qiankun007/CodeMirror,djadmin/CodeMirror,morrisonwudi/CodeMirror,amshali/CodeMirror,skylarkcob/CodeMirror,SidPresse/CodeMirror,ThebingServices/CodeMirror,wingify/CodeMirror,buchslava/CodeMirror,kolya-ay/CodeMirror,namin/CodeMirror,namin/CodeMirror,crazy4chrissi/CodeMirror,alur/CodeMirror,davidpham87/CodeMirror,trumanliu/CodeMirror,hccampos/CodeMirror,happibum/CodeMirror-main,belph/CodeMirror,GerHobbelt/CodeMirror2,increpare/CodeMirror,thomasjm/CodeMirror,adobe/CodeMirror2,wbinnssmith/CodeMirror,qweasd1/CodeMirror,mtaran-google/CodeMirror,Navaneethsen/CodeMirror,TDaglis/CodeMirror,ashmind/CodeMirror,r7kamura/CodeMirror,mihailik/CodeMirror,NeZaMy/CodeMirror2,INTELOGIE/CodeMirror,melpon/CodeMirror,increpare/CodeMirror,TechnicalPursuit/CodeMirror,gkoberger/CodeMirror,elisee/CodeMirror,agendor/CodeMirror,Jisuanke/CodeMirror,karthikeyansam/CodeMirror,nawroth/CodeMirror,pinbe/CodeMirror,alur/CodeMirror,nightwing/CodeMirror,kangkot/CodeMirror,KamranMackey/CodeMirror,shiren/CodeMirror,mizchi/CodeMirror,symbla/CodeMirror,ficristo/CodeMirror,namin/CodeMirror,Dominator008/CodeMirror,bocharsky-bw/CodeMirror,qweasd1/CodeMirror,dperetti/CodeMirror,Navaneethsen/CodeMirror,ejgallego/CodeMirror,morrisonwudi/CodeMirror,cintiamh/CodeMirror,michaelerobertsjr/CodeMirror,jessegrosjean/CodeMirror