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

Inactive views have no size, problematic for use cases like virtual scrollable content #589

Open
danielwiehl opened this issue Sep 2, 2024 · 0 comments

Comments

@danielwiehl
Copy link
Collaborator

Describe the bug

Inactive views are removed from the DOM, causing their size to drop to 0. This behavior can be problematic for use cases like virtual scrollable content because content must be loaded anew when the view is reactivated.

To Reproduce

Steps to reproduce the behavior:

  1. Open view 1
  2. Open view 2
  3. See that the component in view 1 has the size 0.

Expected behavior

Views should retain size or provide a flag to control this behavior when inactive, particularly for virtual scrollable content.

Environment

SCION Workbench v18.0.0-beta.5

@danielwiehl danielwiehl added this to SCION Sep 2, 2024
@github-project-automation github-project-automation bot moved this to Triage in SCION Sep 2, 2024
@danielwiehl danielwiehl changed the title View Size Drops to 0 When Inactive Inactive views have no size, problematic for use cases like virtual scrollable content Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Triage
Development

No branches or pull requests

1 participant