Skip to content

Commit

Permalink
Merge pull request nteract#4586 from wadethestealth/master
Browse files Browse the repository at this point in the history
Update node.tsx to add a delay for typsetting
  • Loading branch information
rgbkrk authored Oct 7, 2019
2 parents c667a7b + 00e370c commit 8c7303e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mathjax/src/node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class MathJaxNode_ extends React.Component<Props & MathJaxContextValue> {
* Render the math once the node is mounted
*/
componentDidMount() {
this.typeset();
setTimeout(() => this.typeset(), 0);
}

/**
Expand Down

0 comments on commit 8c7303e

Please sign in to comment.