Skip to content

Too many active WebGL contexts. Oldest context will be lost. #191

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

Closed
bidva opened this issue Jul 3, 2020 · 2 comments
Closed

Too many active WebGL contexts. Oldest context will be lost. #191

bidva opened this issue Jul 3, 2020 · 2 comments

Comments

@bidva
Copy link

bidva commented Jul 3, 2020

react-plotly.js: "^2.4.0"
chrome : Version 83.0.4103.116 (Official Build) (64-bit)

I'm using the map on the list to render ~13 plots and get this warning on Chrome browser

by playing with zooming it will render the plot but another plot will be broken by sad Icon not sure if it's related to the warning message or not.
image

list.map((item)=><Plot
          useResizeHandler
          onRelayout={onLayoutChange}
          onClick={onClick}
          onLegendClick={onLegendClick}
          onLegendDoubleClick={onLegendDoubleClick}
          style={{ width: '100%', height: '100%' }}
          layout={_.cloneDeep(plotProps.layout)}
          config={{
            displaylogo: false,
            scrollZoom: true,
            modeBarButtonsToRemove: ['sendDataToCloud'],
          }}
        />)
@bidva
Copy link
Author

bidva commented Jul 9, 2020

Hey @VeraZab, Sorry to drag you in here just want to check if this project is abandoned or not?

@chriddyp
Copy link
Member

chriddyp commented Jul 9, 2020

@bidva - This project is not abandoned, it's just stable.

The underlying issue here is in plotly.js, which is the JavaScript graphing library that react-plotly.js uses. This issue has been reported there: plotly/plotly.js#2333

@chriddyp chriddyp closed this as completed Jul 9, 2020
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

2 participants