Replies: 3 comments 2 replies
-
Add a ref and after call ref.current.click() |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Zvih you can use ref to focus and open on focus using flag: |
Beta Was this translation helpful? Give feedback.
0 replies
-
This tells you how to do it via the react component, but how would you do it if you wanted to .click() from the console? @manjushsh @cojoclaudiu |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi guys,
Is it possible to open react-select with .click() on the element?
document.querySelector('.Select-control"]').click(); or something like that?
Beta Was this translation helpful? Give feedback.
All reactions