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

.addClass does not work on edges with React 18's concurrent rendering. #127

Open
LPT00 opened this issue Aug 6, 2024 · 0 comments
Open

Comments

@LPT00
Copy link

LPT00 commented Aug 6, 2024

Recently upgraded my app to React 18 to have concurrent rendering with createRoot(rootElement).render() replacing the old render(, rootElement) and specifically this command causes all of the edges to not pick up style changes dynamically. I have a few functions that will change the colour of the edges once clicked by using the .addClass() function by cytoscape, but now this does not work. Node's .addClass still works though...

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