Ticket #7772 (closed bug: fixed)

Opened 3 years ago

Last modified 6 weeks ago

Draggable: when css 'right' is set, element resizes on drag

Reported by: dmitry_f Owned by:
Priority: minor Milestone: 1.11.2
Component: ui.draggable Version: 1.8.16
Keywords: Cc:
Blocking: Blocked by:

Description

Here's demo of bug:  http://jsfiddle.net/6tgec/1/ If we set 'right:0' for element, then element resizes on drag. That's incorrect.

Change History

comment:1 Changed 2 years ago by scott.gonzalez

  • Milestone changed from 1.9.0 to 2.0.0

comment:2 Changed 2 years ago by mikesherov

  • Status changed from new to open
  • Summary changed from Draggable element 'right:0' bug to Draggable: when css 'right:0' is set, element resizes on drag

Confirmed on latest:  http://jsfiddle.net/BW3NW/

comment:3 Changed 20 months ago by tj.vantoll

  • Summary changed from Draggable: when css 'right:0' is set, element resizes on drag to Draggable: when css 'right' is set, element resizes on drag

The value of the right rule doesn't matter. Also resizable has similar issues  http://jsfiddle.net/tj_vantoll/3Rzsu/.

comment:4 Changed 20 months ago by tj.vantoll

The resizable issue is being handled in #9033.

comment:5 Changed 6 weeks ago by Uri Gilad

  • Status changed from open to closed
  • Resolution set to fixed

Draggable: Set explicit width/height instead of right/bottom css.

Fixes #7772

Changeset: 8eca7b8f45885d20c13f1bf64cad8bee5fc1d5c5

comment:6 Changed 6 weeks ago by mikesherov

  • Milestone changed from 2.0.0 to 1.11.2
Note: See TracTickets for help on using tickets.