Opened 11 years ago

Last modified 5 years ago

#3719 open bug

Resizable: Ghost option does not show right or bottom borders

Reported by: vmx Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.resizable Version: 1.6rc2
Keywords: haspatch Cc:
Blocked by: Blocking:

Description

When the ghost option of a resizable is enabled, the "ghost" has the wrong size and therefore the dotted outline isn't visible at the right and the bottom.

The patch isn't really a bugfix it just hides the problem. The real problem is the size calculation (width vs. outerWidth). I've tested it only with FF 3.0.3/Linux, it might not work well with IE6.

Attachments (1)

resizable-ghost.patch (582 bytes) - added by vmx 11 years ago.
Size ghost correctly

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by vmx

Attachment: resizable-ghost.patch added

Size ghost correctly

comment:1 Changed 11 years ago by rdworth

Milestone: 1.71.8

comment:2 Changed 7 years ago by Scott González

Milestone: 1.9.02.0.0

comment:3 Changed 7 years ago by tj.vantoll

Keywords: haspatch added
Status: newopen
Summary: Resizable ghost sizeResizable: Ghost option does not show right or bottom borders

Verified that this is still an issue in 1.9.1 - http://jsfiddle.net/tj_vantoll/uqaPW/. If you resize the left or top borders you can see the ghost border but not the right or bottom.

comment:4 Changed 6 years ago by Jörn Zaefferer

Still an issue. Though I fail to see the value of the ghost option in general. We should allow the user to resize a dotted outline, as used by the animate option (which seems to imply using a helper).

In other words, drop the helper option, make the ghost option use the default dotted outline, make the animate option imply ghost:true or something like that. There shouldn't be a need to set a custom class for the dotted outline (aka helper), just use CSS.

comment:5 Changed 5 years ago by Jörn Zaefferer

Just ran into this again. Since it has been 10 months, I forgot that I've commented on this issue before....

Note: See TracTickets for help on using tickets.