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

[v4] Render content (lazy load) only when sheet is opened. #1794

Closed
hichemfantar opened this issue Apr 10, 2024 · 2 comments
Closed

[v4] Render content (lazy load) only when sheet is opened. #1794

hichemfantar opened this issue Apr 10, 2024 · 2 comments
Labels
enhancement New feature or request no-issue-activity

Comments

@hichemfantar
Copy link

hichemfantar commented Apr 10, 2024

Feature Request

A way to lazy load the sheet content until it's actually opened would be great.

Why it is needed

Rendering a long flatlist inside the sheet only when it's actually going to be used.

Possible implementation

A prop that indicates whether lazy loading is enabled or not.

Code sample

<Sheet lazy={true} />

@hichemfantar hichemfantar added the enhancement New feature or request label Apr 10, 2024
@hichemfantar hichemfantar changed the title Render content (lazy load) only when sheet is opened. [v4] Render content (lazy load) only when sheet is opened. Apr 12, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

Copy link

This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request no-issue-activity
Projects
None yet
Development

No branches or pull requests

1 participant