Element: [Bug Report] el-select not trigger filter-method when input Chinese clicking with mouse

Created on 27 May 2019  ·  5Comments  ·  Source: ElemeFE/element

Element UI version

2.8.2

OS/Browsers version

chrome73

Vue version

2.6.6

Reproduction Link

https://codepen.io/czzonet/pen/rgKLWW

Steps to reproduce

选择器在某些中文输入的情况下无法触发搜索:

  • 空格选定输入法候选词 可以触发
  • 鼠标选定输入法候选词 没有触发

输入法:微软拼音

输入法输入ningmeng,用鼠标选取候选词柠檬后,应该触发搜索方法,显示筛选后的选项;
但是,如果用空格选取候选词,可以触发搜索方法。

What is Expected?

输入法输入ningmeng,用鼠标选取候选词 柠檬 后,应该触发搜索方法,显示筛选后的选项;
但是,如果用空格选取候选词,可以触发搜索方法。

What is actually happening?

鼠标选取中文后,输入框有了文字,但选项列表没有变化,没有进行搜索筛选方法的调用。

Most helpful comment

微软输入法用数字选候选词也不会触发

All 5 comments

Translation of this issue:

Element UI version

2.8.2

OS/Browsers version

Chrome73

Vue version

2.6.6

Reproduction Link

Https://codepen.io/czzonet/pen/rgKLWW

Steps to reproduce

The selector cannot trigger a search in some cases of Chinese input:

  • Blank Selection Input Method Candidates can be triggered
  • Mouse Selected Input Method Candidates Not Triggered

Input Method: Microsoft Pinyin
Input method input ningmeng', select the candidate wordlemon'with the mouse, should trigger the search method, display the screened options;

However, the search method can be triggered if the candidate words are selected with spaces.

What is Expected?

Input method input ningmeng, select the candidate word lemon with the mouse, should trigger the search method, display the screened options;
However, the search method can be triggered if the candidate words are selected with spaces.

What is actually happening?

After the mouse chooses Chinese, the input box has text, but the list of options has not changed, and there is no call to search and filter method.

微软输入法用数字选候选词也不会触发

I also encountered this problem, but the problem only occurred in 64 bit Google browser, but 32-bit Google browser and Firefox have no problem.
https://codepen.io/tigervoov/pen/xxbgXKx

:multiple="true" 的时候不会发生没有监听到的问题。

:multiple="true" 的时候不会发生没有监听到的问题。

那单选的时候呢?请问有解决办法吗?

Was this page helpful?
0 / 5 - 0 ratings