Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#6238 closed bug (notabug)

jQuery UI 1.8.5 .resizable behaves differently with jQuery 1.4.4 than 1.2.2

Reported by: ken.penn Owned by:
Priority: minor Milestone:
Component: ui.core Version: 1.8.5
Keywords: Cc:
Blocked by: Blocking:

Description

Hello - I have a textarea wrapped in jQuery UI 1.8.5 .resizable(). The textarea behaves as I'd wish, with jQuery-1.4.2, and jQueryUI-1.8.5.

When I switched to jQuery-1.4.3 or jQuery-1.4.4.git, .resizable() did not behave as I'd expect; it required chaining .css('margin', '0px') to get the texarea centered in the resizable wrapper.

I have prepared three examples:

How the textarea .resizable() worked with 1.4.2 is http://kpenn.com/gls/dev/ex/glsedit.0.html

How the textarea .resizable() did not center with 1.4.4.git is http://kpenn.com/gls/dev/ex/glsedit.0.html

How the textarea .resizable() centered with 1.4.4.git and a chained .css() is http://kpenn.com/gls/dev/ex/glsedit.0.html

All js is unminified, for easy examination.

Thanks,

Ken Penn ken.penn.fx@…

Change History (3)

comment:1 Changed 9 years ago by ken.penn

Hello - I have a textarea wrapped in jQuery UI 1.8.5 .resizable(). The textarea behaves as I'd wish, with jQuery-1.4.2, and jQueryUI-1.8.5.

When I switched to jQuery-1.4.3 or jQuery-1.4.4.git, .resizable() did not behave as I'd expect; it required chaining .css('margin', '0px') to get the texarea centered in the resizable wrapper.

I have prepared three examples:

How the textarea .resizable() worked with 1.4.2 is http://kpenn.com/gls/dev/ex/glsedit.0.html

How the textarea .resizable() did not center with 1.4.4.git is http://kpenn.com/gls/dev/ex/glsedit.1.html

How the textarea .resizable() centered with 1.4.4.git and a chained .css() is http://kpenn.com/gls/dev/ex/glsedit.2.html

All js is unminified, for easy examination.

Thanks,

Ken Penn ken.penn.fx@…

comment:2 Changed 9 years ago by Scott González

Resolution: invalid
Status: newclosed

Please provide a reduced test case. There is way too much going on in that page for us to look at it.

comment:3 Changed 7 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.