Updated, part of the code was not shown in the first post.
First thank you for the great work,
I have 1 issue with the code usage:
Tried this:
<IntersectionObserve> @{var isIntersecting = context.IsIntersecting;} <div @ref="context.Ref.Current" class="wrap @(isIntersecting ? "wrapActive" : "")">
...
The issue is that it always brings the div into the view on load of the page!
Do you know what is causing this or what can be the issue?
Regards!
Updated, part of the code was not shown in the first post.
First thank you for the great work,
I have 1 issue with the code usage:
Tried this:
<IntersectionObserve> @{var isIntersecting = context.IsIntersecting;} <div @ref="context.Ref.Current" class="wrap @(isIntersecting ? "wrapActive" : "")">...
The issue is that it always brings the div into the view on load of the page!
Do you know what is causing this or what can be the issue?
Regards!