You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Click on the button Classes overview which will open a <dialog>
Sometimes the network is directly displayed, sometimes not!
When the network does not display all we need to do is to filter/unfilter a predicate, this triggers a renderer.refresh({skipIndexation: true}), which displays the network
Expected behavior
Network should be displayed consistently everytime I open the dialog
Actual behavior
Sometimes the network is directly displayed when the dialog is shown, sometimes not!
I have never seen this behavior when Sigma.js is used outside of a <dialog> which let me think this issue is specific to when Sigma.js is included in a dialog, e.g. in this page network not in a dialog always works: https://sib-swiss.github.io/sparql-editor/overview
I am planning to fix this by adding an event to my web component, so that I can trigger a rendering from outside of the component, when the button to open the dialog is clicked on.
But I was wondering if you might already know where this problem comes from @jacomyal ? Thanks a lot!
The text was updated successfully, but these errors were encountered:
3.0.0
0.25.4
Steps to reproduce
Classes overview
which will open a<dialog>
renderer.refresh({skipIndexation: true})
, which displays the networkExpected behavior
Network should be displayed consistently everytime I open the dialog
Actual behavior
Sometimes the network is directly displayed when the dialog is shown, sometimes not!
Note
My Sigma.js is implemented in a standard web component custom element using light DOM: https://github.com/sib-swiss/sparql-editor/blob/main/packages/sparql-overview/src/sparql-overview.ts (not sure if that can have an impact)
I have never seen this behavior when Sigma.js is used outside of a
<dialog>
which let me think this issue is specific to when Sigma.js is included in a dialog, e.g. in this page network not in a dialog always works: https://sib-swiss.github.io/sparql-editor/overviewI am planning to fix this by adding an event to my web component, so that I can trigger a rendering from outside of the component, when the button to open the dialog is clicked on.
But I was wondering if you might already know where this problem comes from @jacomyal ? Thanks a lot!
The text was updated successfully, but these errors were encountered: