Skip to content

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

@bidva

Description

@bidva

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'],
          }}
        />)

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