We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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!
The text was updated successfully, but these errors were encountered:
Updated, part of the code was not shown earlier which I fixed, Don't know why it scrolls the page to the location where the observed item is.
Sorry, something went wrong.
Hi, could you provide a minimal working example for this please?
No branches or pull requests
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!
The text was updated successfully, but these errors were encountered: