NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.78k stars 3.83k forks source link

Cascader级联选择搜索功能中使用拼音输入法输入中文的时候,会出现拼音浮现在placeholder上面,也就是拼音出现了,但是placeholder还在,就叠在一起了 #8533

Open tft123456 opened 3 weeks ago

tft123456 commented 3 weeks ago
级联选择搜索功能输入框拼音和placeholder叠在一起

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-ivy-ingxhs?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

使用微软拼音输入法选择中文拼音,在输入框中输入pin(此时还没有按空格键选择),会出现拼音叠在Please select上面

What is expected?

拼音出现在上面的时候,不要出现placeholder

What is actually happening?

拼音出现在上面的时候,placeholder依旧存在

Environment Info
ng-zorro-antd 17.4.0
Browser chrome版本 124.0.6367.119(正式版本) (64 位)
zorro-bot[bot] commented 3 weeks ago

Translation of this issue:

When the CASCADER -class chose to use Pinyin input method to enter Chinese in the search function, Pinyin will appear on the Placeholder, that is, the Placeholder is still there.

Class collateral selection search function input box pinyin and Placeholder stacked together

REPRODUCTION LINK

[https://stacktackz.com/edit/ng-zorro-mtd-Ivy- ingxhs?file=src%2FApp.com ivy-ingxhs? File = src%2FAPP%2FAPP.COMPONENT.TS)

STEPS To Reproduce

Use the Microsoft Pinyin input method to select Chinese Pinyin, enter PIN in the input box (at this time the space key is not selected), the Pinyin stacked on the page select

What is exfected?

When Pinyin appears above, do not appear PLACEHOLDER

What is actually happy?

When Pinyin appeared on it, Placeholder still exists

ENVIRONMENT Info
NG-Zorro-ATD 17.4.0
Browser Chrome version 124.0.6367.119 (official version) (64 -bit)