@wandelbots/wandelbots-js-react-components 2.8.0 → 2.8.1

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wandelbots/wandelbots-js-react-components",
3
- "version": "2.8.0",
3
+ "version": "2.8.1",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -38,16 +38,14 @@ export const JoggingJointLimitDetector = ({
38
38
  if (limitReached) jointLimitReachedIndices.push(index)
39
39
  }
40
40
 
41
- if (jointLimitReachedIndices.length === 0) {
42
- return null
43
- }
44
41
  return (
45
42
  <Typography
46
43
  color="error"
47
44
  sx={{
48
45
  margin: "0.5rem 1rem",
49
46
  textAlign: "center",
50
- visibility: jointLimitReachedIndices.length ? "visible" : "collapse",
47
+ minHeight: "1.5rem",
48
+ visibility: jointLimitReachedIndices.length ? "visible" : "hidden",
51
49
  }}
52
50
  >
53
51
  {t("Jogging.JointLimitsReached.lb", {