[Webkit-unassigned] [Bug 245941] New: IntersectionObserver Api Ratio Less Than 1 While Toolbar Visible
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Oct 2 03:13:18 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=245941
Bug ID: 245941
Summary: IntersectionObserver Api Ratio Less Than 1 While
Toolbar Visible
Product: WebKit
Version: Safari 16
Hardware: Mac (Intel)
OS: iOS 16
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mohammadmahdi1383 at outlook.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 462761
--> https://bugs.webkit.org/attachment.cgi?id=462761&action=review
Image of example on Safari 16 - iPhone14 - iOS 16
Problem:
IntersectionObserver api in every desktop browser and mobile browsers that does not have `Toolbar` like safari on bottom of the webpage, is giving the intersectionRatio of `1` when the observed target reached the top of view:
------------------- <-- top of browser web view
+++++++++++++++++++ <-- ELEMENT THAT REACHES THE TOP
| Hello World |
| |
+++++++++++++++++++
------------------- <-- bottom of browser web view
But in Safari on iOS with Toolbar that in the browser view, it gives the value of ~0.9 for intersectionRatio which is INCORRECT!?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221002/64b21031/attachment.htm>
More information about the webkit-unassigned
mailing list