Custom Dropdown Toggle #5111
Closed
mdmontesinos
started this conversation in
General
Replies: 1 comment 7 replies
-
Just set the
|
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to open a dropdown with a custom toggle instead of the regular one?
Basically, I want to have a Dropdown that is opened using an icon instead of a button, something like this:
But I still get the toggle icon, which I would like to get rid of.
I've also tried using the ref and DropdownMenuTargetId to programatically open the dropdown:
But if I remove the DropdownToggle or set Display to None, the position of the dropdown is sometimes bugged, and also can't be closed by clicking elsewhere.
Beta Was this translation helpful? Give feedback.
All reactions