Commit 9f097a7
authored
fix(lib/Canvas): fix onload not triggerd (#4)
Fix the issue where `onLoad` and `onLoadEnd` were not triggered after the view was loaded. This
happens because `url` is `about://(null)` in iOS when using `html` in source like this: `source={{
html }}`. Setting the `baseUrl` parameter on the prop fixes the issue. For reference :
facebook/react-native#18802 (comment)
#21 parent 5cc082b commit 9f097a7
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments