正在加载视频...

视频加载失败

Here’s how I handle keyboard avoidance in React Native 👇 The keyboard covering your inputs is one of the most annoying UX issues on mobile. In this video, I show how I use react-native-keyboard-controller with reanimated to smoothly avoid this problem (👨‍💻 source code below)

50,772 次观看 • 1 年前 •via X (Twitter)

11 条评论

Beto 的头像
Beto1 年前

Source Code: If you are interested in my scheduling app, get access at:

Rainmaker 的头像
Rainmaker1 年前

Don’t trust your strategy until it’s passed this test. Walk-Forward Validation is the key to crafting a reliable machine learning model. Learn how this method helps you avoid overfitting and prepares your model for live market scenarios. Full article and code on my Substack:

Vitor Oliveira 的头像
Vitor Oliveira1 年前

Thank you for the tip, Beto! Recently I discovered we can achieve this behavior using insets.ime from react-native-unistyles (v3). @jpudysz did a demo in this live on the Expo youtube channel.

Beto 的头像
Beto1 年前

@jpudysz Oh that is awesome! 👏 thanks for sharing 📝

Nevo David 的头像
Nevo David1 年前

pretty cool fix, honestly this problem annoys me like crazy - you think mobile ui stuff ever stops being a pain point or its just the price for flexibility

Sujeet Kumar 的头像
Sujeet Kumar1 年前

That keyboard related all issue should fix from react native core. It's really very annoying 😭 to handle every screen

Dibakar Mandal 的头像
Dibakar Mandal1 年前

Can this handle android custom keyboards as well? Like Ms swiftkey

Thomas Viaud 的头像
Thomas Viaud1 年前

What is the difference between your code and using components such as KeyboardAvoidingView or others provided with the package ?

Thijs Sondag 的头像
Thijs Sondag1 年前

This is super helpfull, since I'm building a tool that sits on top of the keyboard 🙂 Thanks for this!

MartycFly.base.eth | 𝝠 |👨‍🎓 = 🔑 的头像
MartycFly.base.eth | 𝝠 |👨‍🎓 = 🔑1 年前

Love all the content 🙌🙌

Alexandre Morgado 的头像
Alexandre Morgado1 年前

Thanks for this tutorial! I was struggling with something similar and i used KeyboardAwareScrollView which made it work perfectly!

相关视频