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

[DO NOT MERGE] [MM] Intersection Observer #111

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MatthewCMoya
Copy link
Contributor

@MatthewCMoya MatthewCMoya commented Nov 13, 2019

Do not merge until offsets are supported

Description

Currently, our scroll monitor system only allows watching the window.
This is a problem for any sort of scrolling div or modal that an application may be using.

The solution is to use the intersectionObserver API.

It looks like lines were added but the bundle size should be smaller as the bloat is more test lines and types.

PR Requirements

Before requesting review this criteria must be met:
Overall test coverage >= current master?

  • Yes
  • N.A.

Documentation included (if any behavioral changes)?

  • Yes
  • N.A.

Backwards compatibility (if breaking change)?

  • Yes
  • N.A.

Release

Will this pr trigger a release i.e. version in package.json has been bumped?

  • Yes
  • No

Screenshots

If U.I. component, include screenshots or video screen capture showing
behavior and responsive styling below.

@MatthewCMoya MatthewCMoya changed the title [DNM - WIP] [MM] Intersection Observer [MM] Intersection Observer Nov 14, 2019
@MatthewCMoya MatthewCMoya changed the title [MM] Intersection Observer [DO NOT MERGE] [MM] Intersection Observer Nov 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants