PDA

View Full Version : Sometimes components won't show



evak
26 Jun 2012, 10:47 PM
I'm loading comboboxes and text fields on my page, and render them to a div.

It works like expected in all browsers but IE. In IE the components sometimes is'nt there. Sometimes the first combobox is missing, sometimes all fields are missing. And sometimes the components suddenly appears after 15-30 seconds.

I cannot see any connection between the occasions where they are missing. The combobox has a store, but the store is loaded in milliseconds. Fiddler gives no response, Developer Tools says no error.

I have compared the HTML code for the component and its container when it's showing and when it's not, and there is no difference.


Top image is how it mostley looks, bottom image is showing the first combobox missing.

evak
27 Jun 2012, 4:26 AM
I found the problem! It has nothing to do with my components, it was the infamous bug with the css-attribute "position:absolute".

Solution found here: http://www.sitepoint.com/fix-disappearing-absolute-position-element-ie/