react-select icon indicating copy to clipboard operation
react-select copied to clipboard

Select.Async do not handle IME after update to v1.0.0-beta14

Open odk211 opened this issue 10 years ago • 9 comments

First, thank you for the awesome component :) It's really helpful!

After update to v1.0.0-beta14 from v1.0.0-beta13, Select.Async do not handle IME well. (Select works well) After every loadOptions call, the input is fixed and IME do not work.

I prepare a plnkr to show it, https://plnkr.co/edit/IjHgD1RboVuspyhUQbJM?p=preview

Could you help me ? Thanks!

odk211 avatar Aug 08 '16 01:08 odk211

I have the same problem. When inputting with Japanese Microsoft IME the composition is broken.

For example to type は (ha) one would first type the "h" key followed by the "a" key followed by enter to confirm the composition. However, in Select.Async after typing the "h" key, the composition is broken and the roman alphabet letter "h" is sent to the async search request.

This is replicable on the React Select demo site: https://jedwatson.github.io/react-select/

A fix would be most appreciated. Thank you for all the hard work.

KaihatsuOnline avatar Mar 23 '17 04:03 KaihatsuOnline

Setting ignoreAccents to false solves this issue. It should probably be false by default anyway. What is odd is this prop was in well prior to beta13 but from what I can tell the issue didn't arise until this commit which came well after beta13 was released.

apearce avatar Apr 01 '17 06:04 apearce

@apearce Thanks! it works for me! :)

odk211 avatar Apr 03 '17 04:04 odk211

I'm not sure this should be closed. It really is still a bug.

Note that I was able to reproduce the issue on Windows using the MS Japanese IME input and on a Mac using the Google Japanese IME input but not on a Mac using the native Apple IME input.

apearce avatar Apr 03 '17 05:04 apearce

@apearce I checked at my plnkr with Windows10 default MS Japanese IME and Mac Google Japanese IME, both worked...

odk211 avatar Apr 04 '17 01:04 odk211

@odk211 Did you try it with ignoreAccents set to true or false? It should work both ways. Only on a Mac using the native IME have I seen it work both ways, hence I feel this should still be open.

apearce avatar Apr 04 '17 05:04 apearce

@apearce It works with ignoreAccents={false} and not work with ignoreAccents={true}. You are right, it should be work both way. I reopen this issue.

odk211 avatar Apr 04 '17 05:04 odk211

The plnkr code above is broken, so I create a new one. https://plnkr.co/edit/oPmYaj4mx5COcWNuRoSI

odk211 avatar Oct 13 '17 16:10 odk211

It seems this issue is already fixed 👍 It works with ignoreAccents true and false.

odk211 avatar Oct 14 '17 08:10 odk211