@wandelbots/wandelbots-js-react-components 1.44.2 → 1.44.3

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": "1.44.2",
3
+ "version": "1.44.3",
4
4
  "description": "React UI toolkit for building applications on top of the Wandelbots platform",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -74,9 +74,6 @@ export const JoggingJointRotationControl = externalizeComponent(
74
74
  }
75
75
 
76
76
  function onPointerOut(ev: React.PointerEvent) {
77
- // Prevent subelements of button from stopping jogging
78
- if (ev.target !== ev.currentTarget) return
79
-
80
77
  state.stopJogging()
81
78
  }
82
79
 
@@ -137,7 +134,11 @@ export const JoggingJointRotationControl = externalizeComponent(
137
134
  ...(state.activeJoggingDir === "-" ? pressedButtonStyle : {}),
138
135
  }}
139
136
  >
140
- <ChevronLeft />
137
+ <ChevronLeft
138
+ sx={{
139
+ "pointer-events": "none",
140
+ }}
141
+ />
141
142
  </IconButton>
142
143
 
143
144
  <Stack
@@ -228,7 +229,11 @@ export const JoggingJointRotationControl = externalizeComponent(
228
229
  ...(state.activeJoggingDir === "+" ? pressedButtonStyle : {}),
229
230
  }}
230
231
  >
231
- <ChevronRight />
232
+ <ChevronRight
233
+ sx={{
234
+ "pointer-events": "none",
235
+ }}
236
+ />
232
237
  </IconButton>
233
238
  </Stack>
234
239
  )