Skip to content

Add guards for the echart instance#621

Open
Matteoverzotti wants to merge 1 commit into
hustcc:masterfrom
Matteoverzotti:fix-getattribute-error
Open

Add guards for the echart instance#621
Matteoverzotti wants to merge 1 commit into
hustcc:masterfrom
Matteoverzotti:fix-getattribute-error

Conversation

@Matteoverzotti
Copy link
Copy Markdown

Tries to fix this issue, where a race condition where a chart mounts/unmounts too fast can lead to a TypeError.

Added guards in order to not call null props. Not sure if this is the best fix ¯\_(ツ)_/¯

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

Successfully merging this pull request may close these issues.

[Bug] Cannot read properties of null (reading 'getAttribute')

1 participant