Skip to content

Multiple observers is not detecting #1

@jeoskiploop

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.

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