GMOD / JBrowseR

R interface to the JBrowse 2 Linear Genome View.
https://gmod.github.io/JBrowseR/
Apache License 2.0
35 stars 3 forks source link

Taking a screenshot in chrome devtools causes crash #4

Closed cmdcolin closed 1 year ago

cmdcolin commented 3 years ago

If I open devtools, then press ctrl+shift+p, then go to "Capture screenshot", it causes the browser to crash with the error

JBrowseR.js:45 [mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: 'Reaction[Autorun@808]' Error: view has no width, cannot calculate displayed blocks
    at t.default (JBrowseR.js:59)
    at Object.get dynamicBlocks (JBrowseR.js:59)
    at le (JBrowseR.js:45)
    at e.computeValue (JBrowseR.js:45)
    at e.trackAndCompute (JBrowseR.js:45)
    at e.get (JBrowseR.js:45)
    at se (JBrowseR.js:45)
    at e.runReaction (JBrowseR.js:45)
    at $e (JBrowseR.js:45)
    at Ke (JBrowseR.js:45)

This may be a curiosity if it is only isolated to this case, but it is reproducible for me

cmdcolin commented 1 year ago

no longer appears to happen