:: Forum >>

Firefox 26 issue - Input and Combo box text cut off

We have been having issues with the latest Firefox release. There appears to be a major issue with Firefox 26 where any AW.UI.Input or AW.UI.Combo text is cut off to what appears to be a fixed size regardless of the size you set with setSize of the control.

If you select the contents of the combo or input control, then the full text appears.
e.g.
var objInput = new AW.UI.Input;
objInput.setSize(160, 20);
objInput.setId("testinput");
objInput.setControlText("BIGREVOLUTION-ABC-123456");
document.write(objInput);

Is anyone else having this issue?
Dan B.
Sunday, December 15, 2013
.aw-all .aw-input-box .aw-item-text {
width:-moz-available;
}

try this.
fabius
Sunday, December 15, 2013
Fabius,

Thank you so much for the reply. Your suggestion seemed to fix all of the input controls that we were having issues with. However, we are still having issues with the combo box text when we try to preset the combo box with a selected value. Any ideas? Your help is greatly appreciated.

e.g.
var objTestCombo = new AW.UI.Combo;
objTestCombo.setItemText(["Testing 123 More Testing Still More Testing More Testing"]);
objTestCombo.setId("mytestcombo");
objTestCombo.setSize(500,25);
objTestCombo.setItemCount(1);
document.write(objTestCombo);
objTypeCombo.setSelectedItems([0]);
objTypeCombo.setControlText(objTypeCombo.getItemText(0));


Thanks,
Dan
Monday, December 16, 2013
I haven't the text problem witdh combo, instead there is another issue with click for close the combo popup which doesn't work without item selection and the grid don't scroll with the mouse wheel.
Damn firefox 26 :-)
fabius
Tuesday, December 17, 2013
Also the grid scroll using the mouse dosent work either... I have emailed support for all of these issues awaiting reply from Alex :(
Jez (TTS)
Tuesday, December 17, 2013
FF 26 is no longer detected by AW. This will be corrected in the next release. The temporary fix is to modify aw.js file -

line 17 char 126 replace:

if(window.XULElement)

with

if(window.XULElement||window.mozRequestAnimationFrame)

This should fix all the issues discussed in this thread (mousewheel scrolling, input/combo text issues, popup closing).
Alex (ActiveWidgets)
Wednesday, December 18, 2013
Thank you Alex. Your patch fixed the issues.
Dan B
Wednesday, December 18, 2013
All working again,

Thanks Alex !!

Jez (TTS)
Sunday, December 29, 2013
Fixed in 2.6.4

http://www.activewidgets.com/javascript.forum.27497.0/activewidgets-2-6-4-released.html
Alex (ActiveWidgets)
Tuesday, January 7, 2014
This problem also exists in IE11.
Jon V
Friday, January 17, 2014

This topic is archived.


Back to support forum

Forum search