Tencent / QMUI_iOS

QMUI iOS——致力于提高项目 UI 开发效率的解决方案
http://qmuiteam.com/ios
Other
7.07k stars 1.37k forks source link

修复 QMUITextView 调用 -initWithFrame:textContainer: 时没有初始化一些相关属性(例如 maxi… #1276

Closed charles0126dev closed 2 years ago

charles0126dev commented 3 years ago

…mumTextLength 为 0),而导致 setText 时,已输入字符串被清空。

tencent-adm commented 3 years ago

CLA assistant check
All committers have signed the CLA.

MoLice commented 2 years ago

应该实现 initWithFrame:textContainer: 的同时把 initWithFrame: 删除,因为后者内部会调用前者。4.4.0 里会修复这个问题。

MoLice commented 2 years ago

已发布 4.4.0 修复该问题。