Closed anyaparekh closed 2 hours ago
Hey! what version of react-native is this on?
It's on RN version 0.76.3
, but I think the issue is linked with react-native-webview
as mentioned here. The below workaround solved my issue:
const [key, setKey] = useState('webview')
<RichText
key={key}
onLoad={() => setKey("reloadWebview")}
...
/>
@anyaparekh - thank you so much for referencing this, it solves another issue with hot reload on the expo setup, we will add this hacky and temporary solution on the next version
Describe the bug I've been using the editor with no issue up till today. But now, when trying to change or set editable / focus state it doesn't seem to be registering. This includes setting
autofocus: true
when initializing the editor.To Reproduce I was able to reproduce the example with the basic example provided in the documentation:
These are my dependencies:
Expected behavior In the above example the editor should auto-focus.
Any help would be greatly appreciated!!