Skip to main content

Bug Tracker

Side navigation

#11699 closed bug (duplicate)

Opened May 04, 2012 03:27PM UTC

Closed May 04, 2012 03:32PM UTC

Last modified May 04, 2012 03:32PM UTC

Jquery offset() strange positioning of fixed positioned elements

Reported by: samuel.hapak@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

Jquery offset() does strange things, when called on fixed positioned element.

First call of myFixedElement.offset(position) positions element relative to window, all next calls will position it relative to document.

You can try demo. Just scroll to the bottom and click on "Hell yes". Notice the "Hell no" disappearing. Click again. "Hell no" will show again.

Attachments (0)
Change History (3)

Changed May 04, 2012 03:28PM UTC by samuel.hapak@gmail.com comment:1

Changed May 04, 2012 03:32PM UTC by scottgonzalez comment:2

resolution: → duplicate
status: newclosed

Changed May 04, 2012 03:32PM UTC by scottgonzalez comment:3

Duplicate of #11671.