Skip to content
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

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

Closed
wants to merge 1 commit into from

Conversation

charles0126dev
Copy link

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

…mumTextLength 为 0),而导致 setText 时,已输入字符串被清空。
@tencent-adm
Copy link
Member

tencent-adm commented Jul 27, 2021

CLA assistant check
All committers have signed the CLA.

@MoLice
Copy link
Collaborator

MoLice commented Nov 28, 2021

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

@MoLice MoLice closed this Nov 28, 2021
@MoLice
Copy link
Collaborator

MoLice commented Nov 29, 2021

已发布 4.4.0 修复该问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants