Side navigation
#12709 closed bug (wontfix)
Opened October 11, 2012 09:03PM UTC
Closed October 11, 2012 11:38PM UTC
Last modified May 01, 2013 09:10AM UTC
The offset function is wrong
Reported by: | anonymous | Owned by: | anonymous |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.8.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
offset is wrong on mobile devices such as Safari on iOS3 (and probably newer) take a look at the following fiddles and screenshots
Attachments (0)
Change History (5)
Changed October 11, 2012 10:10PM UTC by comment:1
owner: | → anonymous |
---|---|
status: | new → pending |
Changed October 11, 2012 11:38PM UTC by comment:2
resolution: | → wontfix |
---|---|
status: | pending → closed |
Why is this pending? We know we removed the fallback offset function as we no longer support 100% iOS3.
Changed October 11, 2012 11:48PM UTC by comment:3
I just wondered where the OP found an iOS3. Maybe an original iPad?
Changed October 12, 2012 12:22AM UTC by comment:4
Sorry, I'm just in a bad mood today I guess :P
Changed May 01, 2013 09:10AM UTC by comment:5
offset is wrong on chrome 25 / android 4.1.1 and need a fix:
(function($){
$.fn.offsetOld = $.fn.offset;
$.fn.offset = function(){
var result = this.offsetOld();
result.top -= window.scrollY;
result.left -= window.scrollX;
return result;
};
})(jQuery);
iOS3? Where are you running this?