Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1.12 Upgrade Guide: Add all distance and delay deprecrations
  • Loading branch information
scottgonzalez committed Oct 30, 2015
commit d36829a26dfb1e83ab198e01abcbaedd7a7e0437
26 changes: 25 additions & 1 deletion page/upgrade-guide/1.12.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ This method was used by dialog, but because the dialog now has an [`appendTo` op

### Deprecated `distance` and `delay` options

[(#10615)](http://bugs.jqueryui.com/ticket/10615) Interactions should be instantaneous. These settings are typically used to prevent accidental drags, but a proper fix for that is to improve the UX, e.g., using handles to avoid accidental drags.
[(#10615)](http://bugs.jqueryui.com/ticket/10615) Interactions should be instantaneous. These settings are typically used to prevent accidental drags, but a proper fix for that is to improve the user experience, e.g., using handles to avoid accidental drags.

## Button

Expand Down Expand Up @@ -262,6 +262,12 @@ $( ".content" ).dialog( {
} );
```

## Draggable

### Deprecated `distance` and `delay` options

See [the notes for the mouse widget](#deprecated-distance-and-delay-options).

## Droppable

### Deprecated `activeClass` in favor of `classes.ui-droppable-active`
Expand Down Expand Up @@ -344,6 +350,18 @@ The autocomplete and selectmenu widgets, which both use menu internally, were bo

[(#10692)](http://bugs.jqueryui.com/ticket/10692) We used to style active parent menu items with `ui-state-active`, while everything else got `ui-state-focus` (or `ui-state-hover`, which we style the same as focus). When a menu item in a submenu has focus, the parent menu item gets `ui-state-active`, which is inconsistent and confusing. We've now switched to using only the `ui-state-active` class.

## Resizable

### Deprecated `distance` and `delay` options

See [the notes for the mouse widget](#deprecated-distance-and-delay-options).

## Selectable

### Deprecated `distance` and `delay` options

See [the notes for the mouse widget](#deprecated-distance-and-delay-options).

## Selectmenu

### Added `_renderButtonItem()` method
Expand All @@ -358,6 +376,12 @@ The autocomplete and selectmenu widgets, which both use menu internally, were bo

Instead of duplicating CSS, the selectmenu widget now reuses classes defined in `button.css`. If you're building jQuery UI manually, you need to include `button.css` as a dependency for selectmenu.

## Sortable

### Deprecated `distance` and `delay` options

See [the notes for the mouse widget](#deprecated-distance-and-delay-options).

## Tabs

### Deprecated `ui-tab` class, replaced with `ui-tabs-tab`
Expand Down