Ticket #6767 (closed bug: duplicate)
Using focus() after slideDown() causes element to disappear in IE6 & IE7
|Reported by:||Alistair||Owned by:|
A slideDown() is executed on a DIV element surrounding an INPUT element. Within the slideDown callback function, the INPUT element is given focus with the focus() method. At that point the element disappears. If the focus() is not done, the slidedown works ok and the element remains visible.
The fix is to use .get(0).focus() instead of .focus(). That is, use the DOM's focus method directly instead of jQuery's. When this is done, the problem does not occur and the element remains visible.
Complete demo HTML is here: http://tinypaste.com/6c8ae
Occurs in IE6 and 7. Seems ok in IE8.
- Priority set to low
- Status changed from new to open
- Component changed from manipulation to effects
- Milestone 1.4.3 deleted
- Status changed from open to closed
- Resolution set to duplicate
- Milestone set to 1.next