You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by po...@apache.org on 2024/05/31 20:55:21 UTC
(incubator-kie-tools) branch main updated: NO-ISSUE: DMN Editor Boxed Expression Types help icon is not working as expected (#2392)
This is an automated email from the ASF dual-hosted git repository.
porcelli pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git
The following commit(s) were added to refs/heads/main by this push:
new c9fd45efb37 NO-ISSUE: DMN Editor Boxed Expression Types help icon is not working as expected (#2392)
c9fd45efb37 is described below
commit c9fd45efb37cc522c5b2783a29b6944e80a35740
Author: Daniel José dos Santos <da...@users.noreply.github.com>
AuthorDate: Fri May 31 17:55:17 2024 -0300
NO-ISSUE: DMN Editor Boxed Expression Types help icon is not working as expected (#2392)
---
.../src/contextMenu/MenuWithHelp/MenuItemWithHelp.tsx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/packages/boxed-expression-component/src/contextMenu/MenuWithHelp/MenuItemWithHelp.tsx b/packages/boxed-expression-component/src/contextMenu/MenuWithHelp/MenuItemWithHelp.tsx
index e6be10abb6c..aa488fc2b60 100644
--- a/packages/boxed-expression-component/src/contextMenu/MenuWithHelp/MenuItemWithHelp.tsx
+++ b/packages/boxed-expression-component/src/contextMenu/MenuWithHelp/MenuItemWithHelp.tsx
@@ -52,7 +52,10 @@ export function MenuItemWithHelp({
actions={
(isHovered || visibleHelp === menuItemHelp) && (
<MenuItemAction
- onClick={() => setVisibleHelp(menuItemHelp)}
+ onClick={(e) => {
+ e.stopPropagation();
+ setVisibleHelp(menuItemHelp);
+ }}
icon={<HelpIcon aria-hidden />}
actionId={menuItemKey + "-help"}
aria-label={menuItemKey + "-help"}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org