Closed mrded closed 6 years ago
it doesn't work for me.
this.state.height
should be initialized in the constructor to prevent undefined height errorWebView
cannot be shown as width is 0can you provide a working example code?
The problem is also related to this issue: https://github.com/facebook/react-native/issues/11594
Let me try to fix it, I'll get back to you.
@calvinkei Please have a look new version.
this.state.height
is set to 1 by default. Which also solved the problem with Hiding content until typesetting is complete
https://github.com/calvinkei/react-native-mathjax/pull/12
I found a way to adjust the height without using
react-native-autoheight-webview
module.Can you please review? It also solves problems with android: https://github.com/calvinkei/react-native-mathjax/issues/9