Search and Top Navigation
#4142 closed bug (fixed)
Opened February 13, 2009 12:41PM UTC
Closed February 13, 2009 12:42PM UTC
Last modified June 17, 2009 12:18AM UTC
draggable: fixed positions include wrong scroll offset in safari
Reported by: | paul | Owned by: | |
---|---|---|---|
Priority: | critical | Milestone: | 1.7 |
Component: | ui.draggable | Version: | 1.6rc6 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
draggable: fixed positions include wrong scroll offset in safari
Attachments (0)
Change History (2)
Changed February 13, 2009 12:42PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Changed June 17, 2009 12:18AM UTC by comment:2
Safari 4 fixed the bug that this fix worked around, and as a result, fixed position scroll offsets are now wrong in Safari 4. (Ah, the joys of browsers.)
I have devised a simple patch which checks the Webkit version number before using the old workaround. Webkit 526 and higher is equivalent to Safari 4.
Basically, for instances like:
$.browser.safari && this.cssPosition == 'fixed'
The code would become:
$.browser.safari && $.browser.version < 526 && this.cssPosition == 'fixed'
Fixed in r2074.