Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#4915 closed bug (notabug)

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 (932 bytes) - added by alexandros 14 years ago.
an html file illustrating the problem

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by alexandros

Attachment: drag-bug.html added

an html file illustrating the problem

comment:1 Changed 14 years ago by Jörn Zaefferer

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.

comment:2 in reply to:  1 Changed 14 years ago by alexandros

Replying to 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?

comment:3 Changed 11 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.