Comments (1)
源代码在逻辑上是矛盾的,要更改 RN
的源代码,iOS
可以如下实现,但是代价有点大。
OC 源码中 是在 shouldChangeTextInRange
事件捕获 "\n" 字符串来实现 return key 的,如果_blurOnSubmit
为 true 则捕获
然后在 textFieldShouldEndEditing
之中,通过 _blurOnSubmit
来是判断键盘是否需要 dismiss,如果 _blurOnSubmit
为 false 则保持 keyBoard
from im.js.
Related Issues (20)
- 服务端 HOT 1
- 👍 HOT 1
- engine.io-client:Unable to resolve module HOT 5
- 重新登录 聊天记录会清空 ? 您最近有计划做离线消息功能么? HOT 1
- 参数类型检测和函数返回值检测 用的什么工具
- 好久没有更新了 HOT 2
- 在android手机上测试历史消息保存顺序有问题 HOT 2
- 我还在弄web版的聊天室,mobx和socket.io如何结合
- 关于群聊的currentKey该如何制定,求教大神 HOT 2
- 想请教你一个问题 ?
- 关于离线消息和群组聊天 HOT 1
- 关于Android体验下载
- 您是怎么解决 多人在线 长链接问题的?
- Mac上运行报错
- 有没有办法在RN里面创建socketServer? HOT 1
- 这个项目是什么时候开始开发的啊 HOT 1
- 项目运行失败 HOT 3
- 登录成功后在哪里实现的跳转 HOT 2
- 集成一个第三方推送服务 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from im.js.