Skip to main content

Search and Top Navigation

#8881 closed bug (duplicate)

Opened December 04, 2012 04:50PM UTC

Closed May 31, 2013 01:27PM UTC

$('#element').resizable triggers $(window).resize on change

Reported by: kavisiegel Owned by:
Priority: minor Milestone:
Component: ui.resizable Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:
Description

This bug has been present in every version of JQueryUI since 1.6.0 - before 1.6.0 there was no 'resize' callback option. In 1.5.3, neither the $(window).resize or resize callback are run.

Scenario: you have a function bound to $(window).resize. You resize a JQueryUI.resizable object. Both functions are run.

Here's a fiddle: http://jsfiddle.net/WphwV/3/

Attachments (0)
Change History (3)

Changed December 04, 2012 04:57PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

This is not a bug, events bubble up to the window. http://bugs.jquery.com/ticket/9841

In the future, we will change our widget event types to never collide with native event types.

Changed May 31, 2013 01:27PM UTC by scottgonzalez comment:2

milestone: 1.10.0
resolution: notabug
status: closedreopened

Changed May 31, 2013 01:27PM UTC by scottgonzalez comment:3

resolution: → duplicate
status: reopenedclosed

Duplicate of #7514.