Opened 13 years ago

Closed 12 years ago

#3158 closed defect (wontfix)

Opera refresh issue

Reported by: guest Owned by: dylan
Priority: high Milestone: 1.2
Component: lfx Version: 0.9
Keywords: Opera, lfx, refresh Cc: jayant.b.sai@…
Blocked By: Blocking:

Description (last modified by dylan)

So I have a very simple lfx.slideTo. On clicking anywhere within a div, an image container div moves to that location. Works well in IE/FF/WebKit. But in Opera, there seems to be some refresh issue. If I switch tabs and return, the image is in the correct location as expected.

<html>

<head>

<title>Opera refresh issue</title> <script type="text/javascript" src="../../js/dojo/dojo.js"></script> <script type="text/javascript">

dojo.require("dojo.event.*"); dojo.require("dojo.lfx.html");

var divPosition; function init() {

dojo.event.connect(dojo.byId("div"), "onclick", window, "slide"); divPosition = dojo.html.abs("div");

}

function slide(evt) {

var pt = dojo.html.getCursorPosition(evt); dojo.lfx.html.slideTo("container", [pt.y - divPosition.y, pt.x - divPosition.x], dojo.html.getCursorPosition(evt)).play();

}

dojo.addOnLoad(init);

</script>

</head> <body>

<div id="div" style="width:300px; height:300px; border:1px solid #000; overflow:hidden; position:relative;">

<div id="container" style="position:absolute; left:0px; top:0px; width:100%; height:100%;">

<img src="http://dojotoolkit.org/files/downloadButton.gif" width="333" height="80" />

</div>

</div>

</body>

</html>

Attachments (1)

opera_refresh_issue.html (1.0 KB) - added by Bryan Forbes 12 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 12 years ago by Bryan Forbes

I'm attaching the file for 0.9 since the bug is still there.

Changed 12 years ago by Bryan Forbes

Attachment: opera_refresh_issue.html added

comment:2 Changed 12 years ago by dylan

Milestone: 0.4.41.2

comment:3 Changed 12 years ago by dylan

Description: modified (diff)
Owner: changed from Bryan Forbes to dylan
Status: newassigned

comment:4 Changed 12 years ago by dylan

Resolution: wontfix
Status: assignedclosed

Tested... broken in Opera 9.27, but works in Opera 9.5b2 on Mac OS X. Going to mark as won't fix as this issue will be moot soon enough.

Note: See TracTickets for help on using tickets.