Opened 10 years ago
Closed 10 years ago
#15767 closed defect (wontfix)
dojo.back.init() iframe content has a size in mobile safari
Reported by: | craigching | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | tbd |
Component: | Version: | 1.7.3 | |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
This happens with Safari on iPad iOS 5.1.1, though I know it happened with older versions of iOS as well, but I don't have specifics.
This also happens with 1.6.x versions of dojo as well.
The fix appears to be to add "display:none;" to the iframe style set in dojo.back.init():
document.write('<iframe style="display:none;border:0;width:1px;height:1px;position:absolute;visibility:hidden;bottom:0;right:0;" name="dj_history" id="dj_history" src="' + src + '"></iframe>');
I haven't had a chance to test windows browsers with this change yet, but I will do so tomorrow. I've attached a series of files showing the problem. The first is with stock 1.7.3, the second is with "visibility:hidden;" removed to show how it looks when visible, the last is with "display:none;" added.
Attachments (3)
Change History (5)
Changed 10 years ago by
Attachment: | IMG_0003.PNG added |
---|
comment:2 Changed 10 years ago by
Component: | Core |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
dojo.back is deprecated by dojo.hash
Image showing how my page looks with dojo.back.init() with stock 1.7.3