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

subject node "selectable" parameter becomes false #146

Open
Linlinlanlan opened this issue Nov 11, 2024 · 0 comments
Open

subject node "selectable" parameter becomes false #146

Linlinlanlan opened this issue Nov 11, 2024 · 0 comments

Comments

@Linlinlanlan
Copy link

Linlinlanlan commented Nov 11, 2024

Environment info
Cytoscape.js version : 3.32.0
Browser/Node.js & version : Google Chrome v 130.0.6723.117
Cytoscape-expand-collapse.js: 4.1.1

Current behaviour
Configured in the events "beforecollapse beforeexpand", "aftercollapse afterexpand" subject children collapse.

Current behaviour: subject node "selectable" parameter becomes false.
Correct behaviour: subject node "selectable" should not change

example code:

cy.on("expandcollapse.afterexpand", (event) => {
	let node = event.target;

	apiec.collapse(node.children());
});
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