!39410 跨应用拖拽文本无法输入

Merge pull request !39410 from kangshihui/text_dev
This commit is contained in:
openharmony_ci 2024-08-01 12:46:22 +00:00 committed by Gitee
commit 5b2cbb2f11
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -7171,6 +7171,9 @@ void TextFieldPattern::HandleCursorOnDragMoved(const RefPtr<NotifyDragEvent>& no
auto host = GetHost();
CHECK_NULL_VOID(host);
if (HasFocus()) {
if (!isCursorAlwaysDisplayed_) {
isCursorAlwaysDisplayed_ = true;
}
if (SystemProperties::GetDebugEnabled()) {
TAG_LOGD(AceLogTag::ACE_TEXT_FIELD,
"In OnDragMoved, the cursor has always Displayed in the textField, id:%{public}d", host->GetId());