Skip to main content

Search and Top Navigation

#4812 closed bug (duplicate)

Opened August 28, 2009 09:00PM UTC

Closed March 04, 2013 04:45PM UTC

Sortable: Text wraps when added to tabs that have subpixel widths

Reported by: tan Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.sortable Version: 1.7.2
Keywords: CSS, tabs, sortable Cc:
Blocked by: Blocking:
Description

Using Firfox 3.5.2 MacOS X

1. Go to the demo page, http://jqueryui.com/demos/tabs/#sortable

2. Use the UI Lightness theme

3. Drag the Aenean lacina tab

When the dragging occurs the label text breaks.

eg.

Aenean

lacina

Expected: The text should not break.

Note: This does not happens with all the themes, like Trontastisc.

Attachments (0)
Change History (5)

Changed August 28, 2009 09:02PM UTC by tan comment:1

Sorry, I thought the system created linebreaks at newlines

Correction to problem description:


eg.

Aenean

lacina


Changed October 06, 2009 01:11AM UTC by scottgonzalez comment:2

component: CSS Frameworkui.sortable
milestone: TBD1.8

This is a sub-pixel calculation problem. I can see that the width of a specific tab is 75.4667px but drops down to 75px during drag.

Changed October 11, 2012 02:54PM UTC by scottgonzalez comment:3

milestone: 1.9.02.0.0

Changed November 04, 2012 06:47PM UTC by mikesherov comment:4

status: newopen
summary: Text breaks when sortable is added to tabsSortable: Text wraps when added to tabs that have subpixel widths

Changed March 04, 2013 04:45PM UTC by tj.vantoll comment:5

resolution: → duplicate
status: openclosed

Duplicate of #8882.Closing this as a duplicate of #8882 because this is caused by the use of parseInt within the sortable plugin.