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

fix(pro:search): chinese couldn't be input #1620

Merged

Conversation

sallerli1
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

在compositionStart之后,在末尾的中文无法输入

What is the new behavior?

修复以上问题

Other information

文字长度的计算不再使用 MeasureElement组件,改用方法 measureTextWidth
修改触发input滚动计算的事件监听逻辑
优化input将光标滚动到可视区域范围的逻辑

@idux-bot
Copy link

idux-bot bot commented Aug 1, 2023

This preview will be available after the AzureCI is passed.

@codecov
Copy link

codecov bot commented Aug 1, 2023

Codecov Report

Merging #1620 (6a324ba) into main (b831b6b) will not change coverage.
The diff coverage is n/a.

❗ Current head 6a324ba differs from pull request most recent head bd0876d. Consider uploading reports for the commit bd0876d to get more accurate results

@@           Coverage Diff           @@
##             main    #1620   +/-   ##
=======================================
  Coverage   92.62%   92.62%           
=======================================
  Files         345      345           
  Lines       32160    32160           
  Branches     3672     3672           
=======================================
  Hits        29788    29788           
  Misses       2372     2372           

@sallerli1 sallerli1 merged commit 1e4a1c7 into IDuxFE:main Aug 4, 2023
5 of 7 checks passed
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.

None yet

1 participant