Skip to main content

Search and Top Navigation

#3480 closed bug (fixed)

Opened October 20, 2008 03:37PM UTC

Closed November 19, 2008 02:53PM UTC

Resizable css cursor not getting applied

Reported by: paranoidsponge Owned by: eduardo
Priority: critical Milestone: 1.7
Component: ui.resizable Version: 1.6rc2
Keywords: Cc:
Blocked by: Blocking:
Description

When changing the CSS of a resizable element like so:

.ui-resizable-s { cursor: ns-resize; height: 6px; width: 100%; bottom: 0px; left: 0px; background: transparent url('../images/resizable-s.png') repeat scroll center top; }

the cursor keeps jumping back and forth between what's specified in the CSS and what's in the JS file.

This can be tested on the resize demo page (http://dev.jquery.com/view/tags/ui/latest/demos/functional/#ui.resizable) and changing the cursors in file flora.resizable.css using Firebug.

I got around that by changing line 309-310 of ui.resizable.js to:

if (o.preserveCursor) {
    var cursor = $('.ui-resizable-' + this.axis).css('cursor');
    $('body').css('cursor', cursor);
}
Attachments (0)
Change History (2)

Changed October 24, 2008 01:10AM UTC by scottgonzalez comment:1

milestone: TBD1.6
priority: minorcritical

Changed November 19, 2008 02:53PM UTC by paul comment:2

resolution: → fixed
status: newclosed

Fixed in r968.