AbsaOSS / AbsaOSS/cps-shared-ui

Enhance Tabs API with lazy loading and content persistence controls

Open
#613 0 comments 0 reactions 0 assignees View on GitHub
enhancement library
Dominant language
TypeScript
Stars
9
Forks
6
Avg merge
23h 46m
Merged PRs (30d)
5

Description

We want to extend the Tabs API to support lazy loading of heavy tab content, including the ability to load content even for tabs that are not yet active or visited, in order to improve perceived performance. This should be configurable at the individual tab level, allowing each tab to define whether its content should be preloaded before it becomes visible.

In addition, we need an option at either the tab group or individual tab level to persist previously visited tab content. When enabled, the content should remain mounted after the user navigates away from the tab, so that returning to it results in immediate rendering without re-initialization or loading delays.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.