Safari - jQuery dragging with “filter: drop-shadow()” leaves traces
up vote
0
down vote
favorite
I have a <div>
, that can be dragged using jquery draggable. This action leaves traces in Safari, but works in other browsers. Found similar (old) issues in Chrome regarding repaint, proposing solutions to use outline:1px solid transparent
but hat does not help here.
$(function() {
$("#draggableItem").draggable();
});
#draggableItem {
width: 130px;
position: relative;
top: 30px;
left: 30px;
padding: 20px;
text-align: center;
font-family: sans-serif;
background-color: #EEEEEE;
filter: drop-shadow(rgb(100, 100, 100) 0px 0px 14px);
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div id="draggableItem">
Drag this box
</div>
Experienced Issue in Safari:
jquery css safari
add a comment |
up vote
0
down vote
favorite
I have a <div>
, that can be dragged using jquery draggable. This action leaves traces in Safari, but works in other browsers. Found similar (old) issues in Chrome regarding repaint, proposing solutions to use outline:1px solid transparent
but hat does not help here.
$(function() {
$("#draggableItem").draggable();
});
#draggableItem {
width: 130px;
position: relative;
top: 30px;
left: 30px;
padding: 20px;
text-align: center;
font-family: sans-serif;
background-color: #EEEEEE;
filter: drop-shadow(rgb(100, 100, 100) 0px 0px 14px);
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div id="draggableItem">
Drag this box
</div>
Experienced Issue in Safari:
jquery css safari
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have a <div>
, that can be dragged using jquery draggable. This action leaves traces in Safari, but works in other browsers. Found similar (old) issues in Chrome regarding repaint, proposing solutions to use outline:1px solid transparent
but hat does not help here.
$(function() {
$("#draggableItem").draggable();
});
#draggableItem {
width: 130px;
position: relative;
top: 30px;
left: 30px;
padding: 20px;
text-align: center;
font-family: sans-serif;
background-color: #EEEEEE;
filter: drop-shadow(rgb(100, 100, 100) 0px 0px 14px);
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div id="draggableItem">
Drag this box
</div>
Experienced Issue in Safari:
jquery css safari
I have a <div>
, that can be dragged using jquery draggable. This action leaves traces in Safari, but works in other browsers. Found similar (old) issues in Chrome regarding repaint, proposing solutions to use outline:1px solid transparent
but hat does not help here.
$(function() {
$("#draggableItem").draggable();
});
#draggableItem {
width: 130px;
position: relative;
top: 30px;
left: 30px;
padding: 20px;
text-align: center;
font-family: sans-serif;
background-color: #EEEEEE;
filter: drop-shadow(rgb(100, 100, 100) 0px 0px 14px);
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div id="draggableItem">
Drag this box
</div>
Experienced Issue in Safari:
$(function() {
$("#draggableItem").draggable();
});
#draggableItem {
width: 130px;
position: relative;
top: 30px;
left: 30px;
padding: 20px;
text-align: center;
font-family: sans-serif;
background-color: #EEEEEE;
filter: drop-shadow(rgb(100, 100, 100) 0px 0px 14px);
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div id="draggableItem">
Drag this box
</div>
$(function() {
$("#draggableItem").draggable();
});
#draggableItem {
width: 130px;
position: relative;
top: 30px;
left: 30px;
padding: 20px;
text-align: center;
font-family: sans-serif;
background-color: #EEEEEE;
filter: drop-shadow(rgb(100, 100, 100) 0px 0px 14px);
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<div id="draggableItem">
Drag this box
</div>
jquery css safari
jquery css safari
asked Nov 8 at 13:19
Saravanan
1,36411926
1,36411926
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53208588%2fsafari-jquery-dragging-with-filter-drop-shadow-leaves-traces%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown