View unanswered posts | View active topics It is currently Sat Jan 18, 2020 5:26 pm

Reply to topic  [ 2 posts ] 
 Issues with dragging. 
Author Message

Joined: Tue Jul 20, 2010 7:25 am
Posts: 4
Post Issues with dragging.

Just to let you know drag/dropping a div with the pie behaviour is really slow.

My work around is to just turn PIE off when dragging: = "none"

However, when you try to re-add the behaviour it doesn't get removed along with the tile any more: = "/"

The div is removed, but the css3-container remains.

I have a test case that replicates the div not getting removed issue:

<!DOCTYPE html>
<style type="text/css">

.a {
  behavior: url(/;


      <script type='text/javascript'>
       var d1 = document.createElement("div")

       var d2 = document.createElement("div")
       d1.className = "a";
       d2.className = "a";
       setTimeout(function() {
 = "none";
       }, 1000);
       setTimeout(function() {
 = "url(/";
       }, 2000);
       setTimeout(function() {
       }, 3000);
       setTimeout(function() {
       }, 4000);

Thu Jul 29, 2010 4:25 am

Joined: Wed Jul 14, 2010 11:46 am
Posts: 1452
Post Re: Issues with dragging.
Hmm, that's a very interesting quirk. I wonder why it's not firing the detach event in that case. Unfortunately behavior attachment/detachment is purely an IE thing so I'm doubtful there's anything that can be done about it programatically, but I'll keep the testcase and look into it at some point.

I'd like to get back to the main issue, though, which is the slow dragging performance. Do you perhaps have a testcase which demonstrates that?

Thu Jul 29, 2010 6:48 am
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.