#10372 closed defect (wontfix)
BorderContainer with border in BorderContainer in hidden div - IE7 "Invalid Argument"
Reported by: | Cheatah | Owned by: | |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Dijit | Version: | 1.3.2 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
When using a BorderContainer? with a border inside another BorderContainer? and this is in a hidden div, IE7 throws a "Invalid argument" Exception.
This does not happen on Firefox, IE8 or Chrome.
See the attached testCase.
Attachments (1)
Change History (4)
Changed 11 years ago by
Attachment: | testCase.html added |
---|
comment:1 follow-up: 2 Changed 11 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 11 years ago by
I have this set up in a page that requires some time to load properly, so I put my entire setup in a hidden div and I show the user a loading animation.
When the loading of the page is done, I display the hidden div and hide the preloader-animation. It works just fine in any other browser, but IE7 comes up with the "Invalid argument" error.
Right now I have a workaround that uses a visible div for the setup of the dojo application (which takes some time to load completely) and I display the preloader div on top of the other div (using z-index and absolute positioning). I don't like this workaround, but it's the only way to get it to work as far as I know.
Do you have any solution for this?
comment:3 Changed 11 years ago by
The standard way is to use visibility: hidden on the loading div, but that's essentially the same thing that you are doing. You could also position it off screen while it's rendering, etc.
Thanks for the test case. But call startup() on a BorderContaine inside a hidden <div> isn't supposed to work; it has no way of doing sizing. IE throws an error whereas other browsers fail silently, but either way it doesnt' work.