Opened 12 years ago

Closed 11 years ago

Last modified 8 years ago

#5568 closed defect (fixed)

ValidationTextbox not always render correctly in FF2 (mac and windows)

Reported by: tk Owned by: Douglas Hays
Priority: high Milestone: 1.1
Component: Dijit - Form Version: 1.0
Keywords: Validation TextBox FF OSX Cc: davidb
Blocked By: Blocking:

Description

ValidationTextBox?'s do not always render correctly in FF2 OSX. With Doug's input the problem was traced to the _layoutHack() function in TextBox?.js being called too soon for FF OSX.

A setTimeout(function,0) call fixes this issue, committing shortly.

Change History (9)

comment:1 Changed 12 years ago by Karl Tiedt

Resolution: fixed
Status: newclosed

(In [12007]) fixes #5568

comment:2 Changed 12 years ago by Karl Tiedt

(In [12047]) refs #5568 setTimeout of 0 found to not work in all cases, bumping it up a tad

comment:3 Changed 12 years ago by Douglas Hays

Resolution: fixed
Status: closedreopened

Changing the timeout from 0 to 250 is causing dijit/form/test_ComboBox.html to sometimes render boxes as single lines when I press Reload in FF2/WinXP2. It looks like values < 75 seem to work OK on my machine.

comment:4 Changed 12 years ago by Adam Peller

tk, please re-assess this. sounds pretty unsafe if 0 doesn't work.

comment:5 Changed 12 years ago by davidb

Cc: davidb added

comment:6 Changed 11 years ago by bill

Summary: ValidationTextbox not always render correctly in FF2 OSXValidationTextbox not always render correctly in FF2 (mac and windows)

Doug says this is occurring on windows boxes too (he saw it on DateTextBox?); updating bug title.

comment:7 Changed 11 years ago by Douglas Hays

Owner: changed from tk to Douglas Hays
Status: reopenednew

comment:8 Changed 11 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [12735]) Fixes #5568. Removed the outer setTimeout in _layoutHack. Could no longer see the failure on windows and mac.

comment:9 Changed 8 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.