@topconsultnpm/sdkui-react 6.20.0-dev1.48 → 6.20.0-dev1.49

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.
@@ -198,7 +198,10 @@ const TMContextMenu = ({ items, trigger = 'right', children, externalControl, ke
198
198
  }
199
199
  }
200
200
  else {
201
- if (!keepOpenOnClick) {
201
+ // Close menu if item has onClick (actual action) or keepOpenOnClick is false
202
+ // This allows pin icon clicks (onRightIconClick) to keep menu open while
203
+ // clicking the item itself closes it
204
+ if (item.onClick || !keepOpenOnClick) {
202
205
  handleClose();
203
206
  }
204
207
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react",
3
- "version": "6.20.0-dev1.48",
3
+ "version": "6.20.0-dev1.49",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",