Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-29-2012, 06:19 PM   PM User | #1
resin
Regular Coder

 
Join Date: Nov 2011
Posts: 142
Thanks: 5
Thanked 0 Times in 0 Posts
resin is an unknown quantity at this point
draggable bug?

I believe I found a bug in the Draggable plugin. Maybe someone else can test and confirm, or perhaps provide a solution or workaround.. When I position a fixed div using the 'right' property, dragging left and right is very sluggish, in Firefox and Chrome. I never experience this sluggish movement in any other circumstance except when I use the 'right' property. If I simply replace the word 'right' with 'left', then that same div will drag normally in all directions. In IE it drags normally in all directions, regardless if you use 'right' or not. For example (with only applying a simple, $( "#div" ).draggable() , on the div),

No sluggishness at all in any browsers:

#nosluggishness
{
position: fixed;
width: 100px;
height: 100px;
left: 100px;
top: 50%;
margin-top: -50px;
background: red;
}

Sluggishness in FF+Chrome (but not IE):

#sluggishnessInFFAndChrome
{
position: fixed;
width: 100px;
height: 100px;
right: 100px;
top: 50%;
margin-top: -50px;
background: red;
}

Do you see what I'm talking about? Maybe it's not a bug in the actual Draggable plugin, maybe instead it's FF+Chrome not being fully compatible with the plugin? I don't know but it's driving me crazy.
resin is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:28 AM.


Advertisement
Log in to turn off these ads.