mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 17:45:22 +00:00
activities: don't render hidden activity panels
This improves performance by not rendering hidden tabs.
This commit is contained in:
committed by
David Lechner
parent
a835934028
commit
b6525ea95e
@@ -105,6 +105,7 @@ const Activities: React.VoidFunctionComponent = () => {
|
||||
vertical={true}
|
||||
className="pb-activities"
|
||||
selectedTabId={selectedActivity}
|
||||
renderActiveTabPanelOnly={true}
|
||||
onChange={handleAction}
|
||||
ref={tabsRef}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user