-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
Clicking <InputRightElement> does not expand the <AutoCompleteList> #43
Comments
Could you reproduce this in codesandbox please? |
Give me some time, I'll get back to you with the link. |
https://codesandbox.io/s/choc-ui-autocomplete-input-right-element-flp5b?file=/src/App.tsx I have replaced the icon with some text for now but it's pretty much the same behaviour. Clicking the doesn't do anything. |
Hi @icy-meteor You don't have any onClick handler on the inputrightelement. What're you expecting it to do onClick. |
I want it to open the dropdown. |
Then you have to set an Onclick handler for that |
Check this out. |
Yes, I saw this. I couldn't find what is the method exposed to open and close the popup. Neither were there any examples other than isOpen. |
Yeah it's |
Okay, maybe we might want to fix the naming convention :) Thanks for the response. I'll try this out. |
@icy-meteor And you can close this if it's working well for you. |
LGTM. Thanks. |
"@choc-ui/chakra-autocomplete": "^4.3.4"
Clicking the
<InputRightElement>
isn't doing anything.The text was updated successfully, but these errors were encountered: