Closed cengit closed 3 years ago
after some operations before, it caused the issue below: https://github.com/wix/react-native-keyboard-aware-scrollview/pull/44
Hi @cengit I was unable to reproduce the issue. I’ve used your markup with only one change - I’m moving to another screen on form submit. Env:
https://user-images.githubusercontent.com/2883006/109954570-808e8900-7d07-11eb-8983-f393638d977c.mp4
I wanted to check whether it’s due to the keyboard aware library issue mentioned in https://github.com/Instawork/hyperview/issues/232#issuecomment-790296568. But since I’m unable to reproduce the issue, would you be able to remove scroll=“true”
from the parent view and see if the issue still persists? If it’s not a scroll view, the library does not get invoked.
thanks for the reply @ashwinibm
ok, I will remove scroll=“true” for some test, will update the result tomorrow.
but Terry's PR (comment #232) did solve my problem, we have test the same scenario with his latest code.
update:according to my colleague's test, after removing scroll=“true” from the page, everything works fine, no error popup
@cengit We've merged the fix in the latest release (0.37.1)
thanks a lot, we create new build with latest release (0.37.1), so far so good(👍
Hi, lately I got an exception for hyperview text-field, but this error is a random error, it did NOT happen every time
exception detailed open a hyperview form, press on the text-field, when the text-field is focused, it will throw an exception: TypeError null is not an object (evaluating 'o.isFocused'), please see this video for reference: text-field error screen capture video
to reproduce the error:
with above these steps 10% chance this error would happen
env:
Do you have any idea, what is going wrong here or how to avoid this error ?
please note that: the exception is catched by react-native-exception-handler, using below code:.
this is the hyperview page xml: