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

[ComboxInput] Chinese composition not handled #966

Open
jeff0723 opened this issue Sep 7, 2022 · 0 comments
Open

[ComboxInput] Chinese composition not handled #966

jeff0723 opened this issue Sep 7, 2022 · 0 comments

Comments

@jeff0723
Copy link

jeff0723 commented Sep 7, 2022

🐛 Bug report

Current Behavior

I tried to build a autocomplete search bar with combox, however, I encounter composition issue that is not handled by Combox.

 <ComboboxInput
                value={value}
                onChange={(e) => {
                    setValue(e.target.value)
                }}
                disabled={!ready}
                className='bg-transparent focus:outline-none w-full text-[16px]'
                placeholder="Search an place..."
            />

When I type Chinese words on IOS browser, it will always have Zhuyin left. I believe it's the issue of onCompositionStart/onCompositionUpdate and onChage order.

Expected behavior

Reproducible example

CodeSandbox Template

Suggested solution(s)

Additional context

Your environment

Software Name(s) Version
Reach Package
React
Browser
Assistive tech
Node
npm/yarn
Operating System
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

No branches or pull requests

1 participant