dhamaso / ufd

Automatically exported from code.google.com/p/ufd
GNU General Public License v2.0
0 stars 0 forks source link

selectAll is not working in a stable fashion in Chrome #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Click in the ufd input in Chrome
2. Sometimes text inside the input is selected, sometimes it isn't

What version of the product are you using? On what operating system?
Version 0.6, Chrome 15

Please provide any additional information below.

var self = this;
setTimeout(function() {self.input.get(0).select();}, 0);

seems to fix the problem

Original issue reported on code.google.com by LeonidKh...@gmail.com on 11 Nov 2011 at 1:48

GoogleCodeExporter commented 9 years ago
Thanks for the report and suggested fix.  The cause of this bug is this issue: 

https://bugs.webkit.org/show_bug.cgi?id=22691

Original comment by thetoolman on 21 May 2012 at 6:13

GoogleCodeExporter commented 9 years ago
Fix committed based on your suggestion, thanks.

Original comment by thetoolman on 21 May 2012 at 6:23