Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intersection Observer Api new feature request #489

Closed
cnsndnz opened this issue Nov 20, 2021 · 3 comments
Closed

Intersection Observer Api new feature request #489

cnsndnz opened this issue Nov 20, 2021 · 3 comments

Comments

@cnsndnz
Copy link

cnsndnz commented Nov 20, 2021

Hello,

This is a feature request for intersection observer api and this feature can be provided as optional via options parameter if it is possible. It is important that the measuring the correct 'viewability' of an ad in online advertisement business. If the intersection observer api can takes into account the browser position and status it will be better for use of advertising purposes. For example Intersection Observer Api can trigger visibility change events for the target element;

  • When you dragged out the browser and dragged in again in to the screen
  • When you minimize or maximize the screen.

Thanks

@miketaylr
Copy link
Member

@cnsndnz could clarify what the feature request is here? Are you asking for IntersectionObserver to provide info outside of the browser window (i.e. window state relative to the screen)? Or something else?

@cnsndnz
Copy link
Author

cnsndnz commented Jun 9, 2022

@cnsndnz could clarify what the feature request is here? Are you asking for IntersectionObserver to provide info outside of the browser window (i.e. window state relative to the screen)? Or something else?

Exactly. Improving the intersection observer due to the window-page state and browser position would be very beneficial for real life use cases.

@miketaylr
Copy link
Member

Thanks - that sounds exactly like what #471 is proposing as well. Let's close this one as a dupe of the earlier one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants