View Full Version : "FireFox2 kills cursor" and text-select in toolbar
20 Mar 2007, 1:02 PM
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:126.96.36.199) Gecko/20070219 Firefox/188.8.131.52
Ext alpha 3
Textfield + Toolbar
I have found that not only does FireFox2 kill the cursor, it also kills the ability to double click on the textfield to select-all and click+hold to select text, when adding a textfield to a toolbar. These are the two methods that I have experienced this with:
var sr = Ext.get('search_bar');
<input type="text" name="search_bar" value="" id="search_bar">
20 Mar 2007, 10:44 PM
The cursor bug is a know issue in firefox.
The text selection is because FF built in auto complete on the Mac is .... terrible. Add autocomplete='off' to your field and text selection should return.
21 Mar 2007, 12:02 AM
Jack, thanks for the response. I tried:
<input type="text" name="search_bar" value="" id="search_bar" autocomplete='off'> and nothing changed. I also tried the setAttribute way after creating an element and no change either.
I had a separate textfield coded into the html next to the toolbar before, in which everything worked less the cursor, but it wasn't as clean of an implementation as it could be, so I put it in the toolbar, and that is when I noticed this reduction of functionality. I have been experimenting with a dialog window and adding a toolbar in the header. The textfield works like it should with FF2 in your http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/view/chooser.html, but the toolbar is added in the layout. No worries, I think I will go with the toolbar in the layout route too.
(just for summary)
Textfield inside Ext.Toolbar inside header section of dialog window + FF2:
*cursor not present
*can't click in the middle of already typed text, to get the invisible cursor to go to the middle of the text.
*No double click field to Select All(it does works with the keybord shortcut though)
*No click+hold+move to select portion of already typed text.
I believe the well known bug is this one:
28 Mar 2007, 1:58 AM
28 Mar 2007, 11:00 AM
thanks nhausig! Looks like a good solution, I will give it a try.
2 Apr 2007, 10:48 AM
Looking to try the solution, but the link about doesn't work in the new forums. Is there a new link for this solution?
6 Jun 2007, 8:22 AM
I can't access the link either and I have serious problems with this cursor.
Is there any fix or workaround for this FF bug in YUI?
I've try all workarounds from https://bugzilla.mozilla.org/show_bug.cgi?id=167801 this site but didn't work for my application.
I'm using EXT 1.0 Beta 2.
6 Jun 2007, 11:11 AM
I'm not sure what happened to that other thread. Try this (http://extjs.com/forum/showthread.php?t=1519") or this (http://extjs.com/forum/showthread.php?t=5492)
7 Jun 2007, 12:12 AM
thank's a lot,
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.