Skip to main content

Search and Top Navigation

#4915 closed bug (notabug)

Opened October 16, 2009 09:43AM UTC

Closed November 17, 2009 10:12AM UTC

Last modified October 11, 2012 09:15PM UTC

After dragging a draggable, css.right stops working

Reported by: alexandros Owned by:
Priority: minor Milestone:
Component: ui.draggable Version: 1.8a1
Keywords: Cc:
Blocked by: Blocking:
Description

I have a div that is marked as draggable. On stop, I change its position to be in the top right corner. Top works correctly, but right is ignored. More strangely, if I ask for .style.right , the displayed value is correct (but in rendering it's ignored). It keeps being ignored for all javascript that runs after the first dragging.

I have tried this in firefox 3.5 and Google Chrome 3 on multiple machines. Also this seems to be persistent accross multiple versions of jquery-ui. I spotted it on 1.7.2 but it is still present in the trunk and dev branch.

Attachments (1)
  • drag-bug.html (0.9 KB) - added by alexandros October 16, 2009 09:47AM UTC.

    an html file illustrating the problem

Change History (3)

Changed November 17, 2009 10:12AM UTC by jzaefferer comment:1

resolution: → invalid
status: newclosed

Sounds like you just need to remove the left-property, as the draggable sets that and the browser decides that make that more important then right when both are set.

Changed November 30, 2009 05:43PM UTC by alexandros comment:2

Replying to [comment:1 joern.zaefferer]:

Sounds like you just need to remove the left-property, as the draggable sets that and the browser decides that make that more important then right when both are set.

In the sample file I have no mention of left-property so I am not sure what to remove. Is there specific code I need to add to make it work?

Changed October 11, 2012 09:15PM UTC by scottgonzalez comment:3

milestone: TBD

Milestone TBD deleted