Closed Nyteloki closed 10 years ago
After much searching and testing, this issue appears to be a styling issue after all. I do not know if this fix affects anything else, but the following CSS makes IE7 behave like IE 8, 10, and Firefox.:
.dijitTreeNode div { min-height: 1px; }
or
.dijitTreeNode div { zoom:1; }
Both give the div elements hasLayout as I understand it.
I checked out the demo on your website. It appears there is an issue with the display of the expansion icon, checkbox, and folder icons after you resize the window while in IE 7 mode only. I am stuck using dojo 1.8.4 due to the requirement to support IE 7.
If you hover over the tree while the icons are missing, they immediately reappear, however resizing the browser window again will cause them to disappear once more. Firing the container resize() method will cause them to reappear, but this does not seem to work within the browsers DOM onresize event. When I step the through the code myself, it appears to fire the resize event and then sometime after that, actually cause the icons to disappear. This makes me believe it is a timing issue and not simply a css issue.
I will check back from time to time to answer any questions you have and report anything I find.