impaktapps-jsonforms 5.426.28-alpha.3 → 5.426.28-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -24,6 +24,10 @@ interface TabPanelProps {
|
|
|
24
24
|
function TabPanel(props: TabPanelProps) {
|
|
25
25
|
const { children, value, index, id, ...other } = props;
|
|
26
26
|
|
|
27
|
+
|
|
28
|
+
if (value !== index) {
|
|
29
|
+
return null; // Don't render if this panel is not active
|
|
30
|
+
}
|
|
27
31
|
return (
|
|
28
32
|
<div
|
|
29
33
|
role="tabpanel"
|
|
@@ -115,7 +119,7 @@ export default function TabLayout({
|
|
|
115
119
|
borderBottom: isVertical ? '1px solid rgba(0, 0, 0, 0.12)' : undefined }}
|
|
116
120
|
label={elem}
|
|
117
121
|
{...a11yProps(i)}
|
|
118
|
-
onClick = {(e) => callServiceProvider(e)}
|
|
122
|
+
// onClick = {(e) => callServiceProvider(e)}
|
|
119
123
|
/>
|
|
120
124
|
);
|
|
121
125
|
})}
|