-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark Keyboard
module as unsupported on VisionOS
#6
Comments
Keyboard
module as unsupported on VisionOSKeyboard
module as unsupported on VisionOS
I can take this one! |
@okwasniewski PR #25 is open for review, but I'm getting a memory leak. Probably related to the changes in
Will continue investigating, but sending here in case you see something I don't! |
@thiagobrez I had the same issue, it was a bug in the core and it was already reverted: |
Yeah thanks @TMisiukiewicz! @okwasniewski also warned me about it, good to know 🙏🏻 So I'll just wait for it to be synced and re-test |
I actually was confused by the message: "Keyboard is not available on visionOS platform." I read this as if React Native visionOS would not support text input at all? Or do you mean that just a certain way to hook into keyboard notifications is unsupported, i.e. to get notified when the keyboard pops up? |
I think refining this message as I will re-open this issue to take care of this. I also noticed that this pops up when user is not using Keyboard API |
Yes, makes sense. Does this also mean that keyboard events won't work in general? Like to check if the enter key has been pressed in an input field? |
@derwaldgeist Keyboard API doesn't handle this. You can use TextInput's |
Description
Goal of this issue is to mark
Keyboard
module as unsupported for VisionOS.As stated in Apple docs: https://developer.apple.com/documentation/uikit/uikeyboardwillshownotification?language=objc :
Goals:
RCTKeyboardObserver
(#if TARGET_OS_VISION
)Keyboard
andKeyboardAvoidingView
as not supportedThe text was updated successfully, but these errors were encountered: