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

chinese typing problem #92

Open
RocMark opened this issue May 6, 2020 · 13 comments
Open

chinese typing problem #92

RocMark opened this issue May 6, 2020 · 13 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@RocMark
Copy link

RocMark commented May 6, 2020

react-select

typing english works fine.
but typing chinese will push word to left then not able to see.

is there any solution to this?
or maybe i need some custom css setting??

you can copy and paste "你好嗎" on your code sandbox to reproduce.

here is my code. not thing special i think.

const storesSelectOnChange_Evt = useCallback((data) => {
  console.log(data)
}, [])

const storesSelectOnKeyDown_Evt = useCallback((data) => {
  const value = data.state.search
  console.log(value)
}, [])

const options = [
  { id: 1, name: 'a', value: 'a' },
  { id: 2, name: 'b', value: 'b' },
  { id: 3, name: 'c', value: 'c' },
]

const storesSelectOptions = {
  options,
  placeholder: 'Select Store',
  addPlaceholder: '+ click to add store',
  clearable: true,
  multi: true,
  onChange: storesSelectOnChange_Evt,
  closeOnSelect: true,
  noDataLabel: 'No matches found',
  separator: true,
  searchable: true,
  searchBy: 'name',
  labelField: 'name',
  handleKeyDownFn: storesSelectOnKeyDown_Evt,
}

<Select {...storesSelectOptions} />

thx for making this great component !

@sanusart
Copy link
Owner

sanusart commented May 8, 2020

@RocMark Maybe you know? is "你好嗎" phrase considered 3 characters?

@RocMark
Copy link
Author

RocMark commented May 11, 2020

umm not sure what you mean QQ

@sanusart sanusart added the bug Something isn't working label May 11, 2020
@stale
Copy link

stale bot commented Jul 10, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Jul 10, 2020
@sanusart sanusart removed the stale Stale issue with no response or lack of info label Jul 11, 2020
@stale
Copy link

stale bot commented Sep 9, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Sep 9, 2020
@sanusart sanusart removed the stale Stale issue with no response or lack of info label Sep 9, 2020
@stale
Copy link

stale bot commented Nov 8, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Nov 8, 2020
@sanusart sanusart removed the stale Stale issue with no response or lack of info label Nov 9, 2020
@stale
Copy link

stale bot commented Jan 8, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Jan 8, 2021
@sanusart sanusart removed the stale Stale issue with no response or lack of info label Jan 8, 2021
@stale
Copy link

stale bot commented Mar 16, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Mar 16, 2021
@stale stale bot closed this as completed Mar 26, 2021
@sanusart sanusart reopened this Mar 26, 2021
@stale stale bot closed this as completed Jun 2, 2021
@sanusart sanusart reopened this Jun 2, 2021
@stale stale bot removed the stale Stale issue with no response or lack of info label Jun 2, 2021
@stale
Copy link

stale bot commented Aug 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Aug 2, 2021
@sanusart sanusart removed the stale Stale issue with no response or lack of info label Aug 2, 2021
@stale
Copy link

stale bot commented Oct 2, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Oct 2, 2021
@stale stale bot closed this as completed Oct 11, 2021
@sanusart sanusart reopened this Oct 11, 2021
@stale stale bot removed the stale Stale issue with no response or lack of info label Oct 11, 2021
@stale
Copy link

stale bot commented Apr 16, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Apr 16, 2022
@stale stale bot closed this as completed Apr 25, 2022
@sanusart sanusart reopened this Apr 25, 2022
@stale stale bot removed the stale Stale issue with no response or lack of info label Apr 25, 2022
@sanusart sanusart added the help wanted Extra attention is needed label Jun 4, 2022
@stale
Copy link

stale bot commented Aug 12, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Aug 12, 2022
@sanusart sanusart removed the stale Stale issue with no response or lack of info label Aug 12, 2022
@stale
Copy link

stale bot commented Oct 30, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label Oct 30, 2022
@stale stale bot closed this as completed Nov 12, 2022
@sanusart sanusart reopened this Nov 12, 2022
@stale stale bot removed the stale Stale issue with no response or lack of info label Nov 12, 2022
@stale
Copy link

stale bot commented May 22, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issue with no response or lack of info label May 22, 2023
@sanusart sanusart removed the stale Stale issue with no response or lack of info label Jul 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants