Skip to main content

Search and Top Navigation

#4185 closed bug (notabug)

Opened February 19, 2009 11:43AM UTC

Closed February 20, 2009 12:55PM UTC

Last modified February 20, 2009 02:06PM UTC

KnobHandles functionality is missing in jQuery UI 1.6rc6

Reported by: tcarnell Owned by:
Priority: major Milestone: 1.7
Component: ui.resizable Version: 1.6rc6
Keywords: KnobHandles resizable missing Cc:
Blocked by: Blocking:
Description

I was relying on the KnobHandles feature of the 'resizable' component in UI version 1.5.x. I upgraded to version 1.6rc6 (and jQuery 1.3.1) because there were problems with the 'destroy' feature of 1.5.

...but the 'KnobHandles' feature seems to have been removed? The API documentation did not state that it was 'deprecated' and I cant find any other documentation about this, so I assume it is a bug.

Can this be confirmed?

We have been using this feature considerably in our beta product.

cheers, tom

Attachments (2)
Change History (2)

Changed February 20, 2009 12:55PM UTC by rdworth comment:1

description: \ I was relying on the KnobHandles feature of the 'resizable' component in UI version 1.5.x. I upgraded to version 1.6 (and jQuery 1.3.1) because there were problems with the 'destroy' feature of 1.5. \ \ ...but the 'KnobHandles' feature seems to have been removed? The API documentation did not state that it was 'deprecated' and I cant find any other documentation about this, so I assume it is a bug. \ \ Can this be confirmed? \ \ We have been using this feature considerably in our beta product. \ \ cheers, tomI was relying on the KnobHandles feature of the 'resizable' component in UI version 1.5.x. I upgraded to version 1.6rc6 (and jQuery 1.3.1) because there were problems with the 'destroy' feature of 1.5. \ \ ...but the 'KnobHandles' feature seems to have been removed? The API documentation did not state that it was 'deprecated' and I cant find any other documentation about this, so I assume it is a bug. \ \ Can this be confirmed? \ \ We have been using this feature considerably in our beta product. \ \ cheers, tom
milestone: TBD1.6
resolution: → invalid
status: newclosed
summary: KnobHandles functionality is missing in jQuery UI 1.6KnobHandles functionality is missing in jQuery UI 1.6rc6

The knobHandles feature was removed as part of the transition to the new jQuery UI CSS Framework. The same can be achieved by css. This allows for the styling of the handles to be configurable and themeable, neither of which the 1.5.3 version offered (as the styling was done inline). Here's the css for doing 1.5-styled knobHandles in 1.6rc6/1.7:

.ui-resizable-handle {

width: 8px; height: 8px;

border: 1px solid rgb(128, 128, 128);

background: rgb(242, 242, 242);

}

.ui-resizable-n, .ui-resizable-s { left: 45%; }

.ui-resizable-e, .ui-resizable-w { top: 45%; }

.ui-resizable-se { bottom: -5px; right: -5px; }

See attached for full code samples of knobHandles in 1.5 compared to 1.7.

This will be fully documented in the Upgrade Guide (in progress) as part of the 1.7 final release.

Changed February 20, 2009 02:06PM UTC by tcarnell comment:2

ok great, thanks for the CSS