Search and Top Navigation
#6207 closed bug (invalid)
Opened October 19, 2010 06:16PM UTC
Closed November 11, 2012 09:05AM UTC
jQuery UI Resizable 1.8.4 _mouseStop gets wrong left, top-values in safari
Reported by: | tomcatharry | Owned by: | tomcatharry |
---|---|---|---|
Priority: | minor | Milestone: | 2.0.0 |
Component: | ui.resizable | Version: | 1.8.4 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
jQuery UI Resizable 1.8.4
in safari 5.0.1 (windows xp) the getter self.element.css('left')
returns 'auto' and then NaN with parseInt.
In consequence left and top is null and the css-setting doesn't work.
see:
_mouseStop: function(event) { ... var s = { width: (self.size.width - soffsetw), height: (self.size.height - soffseth) }, left = (parseInt(self.element.css('left'), 10) + (self.position.left - self.originalPosition.left)) || null, top = (parseInt(self.element.css('top'), 10) + (self.position.top - self.originalPosition.top)) || null; if (!o.animate) this.element.css($.extend(s, { top: top, left: left })); ...
Attachments (0)
Change History (3)
Changed October 11, 2012 09:07PM UTC by comment:1
milestone: | TBD → 2.0.0 |
---|
Changed October 27, 2012 07:44PM UTC by comment:2
owner: | → tomcatharry |
---|---|
status: | new → pending |
Thanks for taking the time to contribute to the jQuery UI project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket.
Additionally, be sure to test against the git version of both jQuery UI and jQuery to ensure the issue still exists. To get you started, use this boilerplate: http://jsfiddle.net/ZgAqH/ Open the link and click to "Fork" (in the top menu).
Changed November 11, 2012 09:05AM UTC by comment:3
resolution: | → invalid |
---|---|
status: | pending → closed |
Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!