-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Suggest dropdown does not open when inputRef is set to ref hook #4138
Comments
Indeed. I came to this while trying to reproduce a separate issue: when adding an inputRef prop to the Suggest component, the popover no longer shows when clicking on the input. |
Maybe code sandbox is doing something weird where it doesn't respect dependency version ranges? select 3.13.0 explicitly depends on core 3.27.0, where blueprint/packages/select/package.json Line 38 in d08244b
any chance you could share a more realistic repro of the issue outside of the sandbox? |
I'll look into this right now; I just made some changes to that code so I'll make sure it works before I release today. |
Adding an inputRef to Suggest works fine for me on the latest develop branch. keep an eye out for a release today |
Thanks. Seems like the bug is still present though, both on my local env and on codesandbox (updated the packages to yesterday's release). |
Ok, I can repro the new problem in code sandbox with the latest packages: https://codesandbox.io/s/blueprint-sandbox-9w34k The bug occurs with |
I'm not sure what's happening here, but I can definitely repro the issue with the new feature added in select 3.13.0. Callback refs still work, so it's not a regression. Maybe @tanmoyopenroot (who submitted #4093) can take a look? Hope you don't mind I updated this issue title and description @tdehollain |
I am looking into it. |
Environment
Core@3.27.0, Suggest@3.13.0core@3.28.0, select 3.13.1Repro code sandbox
Steps to reproduce
core_1.Utils.getRef is not a function
The text was updated successfully, but these errors were encountered: