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

Remove threshold from IntersectionObserver #3

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

PeeterPaal
Copy link
Collaborator

As content inserted to Common Page may be longer, it can be possible that 70% of content will never be visible at once, and thus content will never be visible. Remove threshold to mitigate this issue.

Closes #2

Testing:
Create a new page with Common page layout and insert a long text into one content area. Make sure that inserted content becomes visible in previewmode.

As content inserted to Common Page may be longer, it can be possible
that 70% of content will never be visible at once, and thus content
will never be visible. Remove threshold to mitigate this issue.
@PeeterPaal PeeterPaal added the bug Something isn't working label Jan 9, 2024
@PeeterPaal PeeterPaal requested a review from tanelj January 9, 2024 09:47
@PeeterPaal PeeterPaal self-assigned this Jan 9, 2024
Copy link
Member

@tanelj tanelj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works!

@PeeterPaal PeeterPaal merged commit 7ec2c77 into main Jan 10, 2024
@PeeterPaal PeeterPaal deleted the 2-commonpage-long-content branch January 10, 2024 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Long content is not displayed on Common Page layout
2 participants