|
|
@@ -8,7 +8,7 @@ class Teoria extends Component {
|
|
|
state = { webViewHeight: 200 };
|
|
|
|
|
|
render() {
|
|
|
- const script = '<script>function p(){ window.postMessage(document.body.scrollHeight); } window.onload = function(e) { p(); }; setInterval(p, 10000);</script>'
|
|
|
+ const script = '<script>function p(){ window.postMessage(document.body.scrollHeight); } window.onload = function(e) { p(); }; setTimeout(p, 300); setTimeout(p, 3000); setInterval(p, 10000);</script>'
|
|
|
const body = `<html><head>${script}</head><body>${this.props.texto}</body></html>`;
|
|
|
return (
|
|
|
<ScrollView style={{ flex: 1 }}>
|