Skip to content

Conversation

@archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 25, 2020

When encountering a webgl error, right now we invert the is-mobile detection to attempt creating the scene with different preserveDrawingBuffer config second time. Although this helped solving the issues of some browsers and devices, it has a side-effect. Basically we won't notified by other webgl errors, if any. See #5222
Therefore this PR limits this re-config attempt to the very first scene initialization in 94e98d7.

@plotly/plotly_js

Copy link
Collaborator

@alexcjohnson alexcjohnson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea. I guess this would be hard to write a test for, so let's merge as is. 💃

@archmoj archmoj merged commit 5d4c888 into master Oct 26, 2020
@archmoj archmoj deleted the revise-webgl-init-scene branch October 26, 2020 18:20
@archmoj archmoj added bug something broken and removed type: maintenance labels Oct 26, 2020
@handeer
Copy link

handeer commented Oct 27, 2020

hi, this bug yet not resolve.

@archmoj archmoj added this to the v1.58.0 milestone Dec 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug something broken

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants