React Native 解决 TextInput 设置 maxLength 后,拼音输入法无法输入的问题

目前只发现在 iOS 上存在这个问题,这是由于 iOS 系统的问题,需要添加一个 OC 分类来解决,这里有一个封装好的 react-native-textinput-maxlength-fixed ,直接安装即可。

复制代码
npm install react-native-textinput-maxlength-fixed
npx pod-install
相关推荐
前端小D20 天前
React Native项目开发(iOS侧为例)
javascript·react native·react.js
大龄秃头程序员21 天前
从源码里看懂 React Native 新架构:TurboModule 与 Fabric 到底是怎么跑起来的?
react native
前端小D22 天前
React Native Android 项目搭建
android·react native·react.js
hhhjhl24 天前
React Native 三方库「react-native-sha256」的鸿蒙化适配指南
react native·华为·harmonyos
2601_9499706924 天前
React Native 三方库「react-native-version-check」的鸿蒙化适配指南
react native·华为·harmonyos
hhhjhl24 天前
React Native 三方库「react-native-proximity」的鸿蒙化适配指南
react native·华为·harmonyos
2601_9499706924 天前
React Native 三方库「react-native-media-notification」的鸿蒙化适配指南
react native·华为·harmonyos
GitCode官方24 天前
从大语言模型到具身智能:百度百舸 LoongForge 入驻 AtomGit
人工智能·react native·百度·harmonyos·atomgit
2501_915918411 个月前
Windows 上开发 React Native iOS,真机调试、Fast Refresh 与打包 ipa
windows·vscode·react native·ios·个人开发·swift·敏捷流程
2501_948122631 个月前
Qs 跨端三方库仓颉适配全流程
python·react native·django·tornado