hi guys,
I'm very desperate since I upgraded to dojo 1.1 release.
Since I did this I got an odd bug within some dijits like
DateTextBox and FilteringSelect.
I'm trying to trace it back for about 2 weeks now but I cannot
figure out why it occurs. The symptom of the dijit-bug is that
dijits are collapsing sometimes after re-initializing, so that
the dijit itself is only visible as a flat stroke (from the borderline).
It is not possible at all to use it like this.
Screenshot: Dijit working
Screenshot: Dijit died after reload
My practice to reload partial content stuff to the page is to: unload
dijits in a node, then fill the content into it via innerHTML and then
to parse the dijits.
This method worked all the time great since I upgraded from 1.0.2 to 1.1rc.
I just read 'thousands' of posts here and tweaked my code so it handles
a partial reload with contentPane dijit instead of using innerHTML.
But I could not succeed in doing this. I guess my problem is based on a Firefox
Bug under mac osX because under windows it's working :/ ...
I retraced the problem to dijitInlineTable whereas in the dojo.css an inline-comment
noticed about several bugs FF2 and FF3.
Currently I got a 'dirty' workaround that prevent the dijit-collapsing by assigning
this style to my dijit directly: overflow:hidden; Don't ask for the reason, but it
seems to be working. I also tried to set a fixed height directly to dijit, but if I
do so, they aren’t displayed correctly if they're based on a dialog dijit... (I love it !!!)
very quaint, complex and strange, i know :D
but maybe there’s somebody out there who can help me?
here's a screenshot that shows two dijits: fixed and not fixed with overflow-hide:
Screenshot: Dijit compare after reload, with and without "my overflow-hide-workarround
thx thx and thx :)
melchior
