Skip to content

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

@LPT00

Description

@LPT00

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions