Skip to content

Multiple observers is not detecting #1

Description

@jeoskiploop

Hi,

In a scrollview I want to listen to multiple set of intersections. Its working for two intersections but more than two is not working.

`
const onScroll = useCallback(
(event) => {
IntersectionObserver.emitEvent('YourOwnScope1');
IntersectionObserver.emitEvent('YourOwnScope2');
IntersectionObserver.emitEvent('YourOwnScope3');
IntersectionObserver.emitEvent('YourOwnScope4');
},
[],
);

`

Please help me with this.

Thank You.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions