Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

actionMapping mouse dblClick has stopped working #949

Open
richlaughlin opened this issue Oct 20, 2022 · 1 comment
Open

actionMapping mouse dblClick has stopped working #949

richlaughlin opened this issue Oct 20, 2022 · 1 comment

Comments

@richlaughlin
Copy link

richlaughlin commented Oct 20, 2022

Minimal reproduction of the bug/regression with instructions:

actionMapping: IActionMapping = {
        mouse: {
            contextMenu: (tree, node, evt) => {
                evt.preventDefault();
              
                this.onContextMenu(node);
                
            },
            dblClick: (tree, node, evt) => {
              //Collapse Node
                if (node.parent.data.id != undefined) {
                    node.parent.collapse();
                    node.parent.setIsActive(true);
                }
                
            },
        },
    };

Expected behavior:

Double click to collapse node. From the code above, contextMenu fires correctly, dblClick previously collapsed the node but the dblClick event is no longer firing when user double clicks on tree node

Versions of Angular Tree Component, Angular, Node, affected browser(s) and operating system(s):

"@circlon/angular-tree-component": "^11.0.4",
Angular 14.2.6
Node 16.17.0
Chrome Version 106.0.5249.119
Firefox 106.0
Windows 11

Other information:

I would be willing to submit a PR to fix this issue

[ ] No

@richlaughlin
Copy link
Author

No reply in 53 days. Have CirclonGroup abandoned the Angular Tree Component?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant