-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
onClick, onSelect ignored for DropdownButton #470
Comments
It's on our roadmap to address #419. Although I think you are asking about when the overall dropdown is opened which we are not exposing at the moment. |
Use case is focusing a text input when it opens, similar to the select2 jquery lib. For the moment I'm able to work around it by binding onMouseUp. Not yet sure if it's reliable across different devices. |
I was running into the same problem. For my use case I don’t want an |
I hadn't looked at select2 jquery till today. I'm thinking that the best solution for something like this would be allowing for a custom dropdown menu component aside from the default. So something like:
Yet still allow for the default
The other issue I see is that the components in select2 jquery are all tied to an actual html5 select box under the covers. I'm not quite sure how to solve that problem, some kind of wrapper that links the two together should work relatively easy. What are your thoughts on this? |
…react-bootstrap#470) * chore(package): update eslint-plugin-jsx-a11y to version 6.2.0 * chore(package): update lockfile package-lock.json
Is there a way to be notified when a dropdown is opened? Setting onClick and onSelect appears to have no effect. More generally, is there any documentation of the events emitted by bootstrap components?
The text was updated successfully, but these errors were encountered: