Reputation: 5834
I have a problem in Opera 11.50 @ Windows 7.
This is my code and live preview:
<!DOCTYPE html>
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
<style type="text/css">
#draggable {
width: 100px;
height: 70px;
background: silver;
box-shadow: 0 0 4px rgba(0, 0, 0, 1);
-webkit-box-shadow: 0 0 4px rgba(0, 0, 0, 1);
-moz-box-shadow: 0 0 4px rgba(0, 0, 0, 1);
}
</style>
<script>
$(document).ready(function() {
$("#draggable").draggable();
});
</script>
</head>
<body style="font-size:62.5%;">
<div id="draggable">Drag me</div>
</body>
</html>
If I drag div around, it leaves "traces" of shadow. Especially if I drag it fast in upper direction. In Chrome and Firefox it works and looks good.
Anybody have idea or suggestion?
Thanks!
Edit: Here is a screenshot too.
Upvotes: 1
Views: 1056
Reputation: 36
Try adding
#draggable {
display:inline-block;
}
to the css style. This worked for me on opera 11.6
Upvotes: 1
Reputation: 6229
I think this is a rendering engine bug that has been fixed for Opera 12 (works for me in O12 builds, WinXP).
Upvotes: 0