The dash-extensions package is a collection of utility functions, syntax extensions, and Dash components that aim to improve the Dash development experience
When trying to display a Mermaid graph in a Dash Plotly app using dash-extensions, I regularly get the following error:
Failed to execute 'querySelector' on 'Element': '#23yHh g' is not a valid selector.
The error disappears after reloading the page as soon as a selector is created that does not start with a digit.
Can this be fixed by ensuring the selector is alway valid? Or is there a way to choose the selector name in the Dash code?
When trying to display a Mermaid graph in a Dash Plotly app using dash-extensions, I regularly get the following error:
Failed to execute 'querySelector' on 'Element': '#23yHh g' is not a valid selector.
The error disappears after reloading the page as soon as a selector is created that does not start with a digit. Can this be fixed by ensuring the selector is alway valid? Or is there a way to choose the selector name in the Dash code?