You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to replace the deprecated Dropdown, for an existing bulk select, and running into trouble.
After a selection, the user cannot click on the "10 selected" text below to expand the list. We can only click on the down arrow to expand the list.
As a workaround, I wrapped the "10 selected" text in a span and used its onClick to open the list. However, this does not seem correct. I expected the onClick of MenuToggle to be triggered.
Notes
When the text is clicked:
the onSelect of Dropdown isn't called
the onClick of MenuToggle isn't called
neither onChange or onClick of MenuToggleCheckbox are called
With the older, deprecated Dropdown / DropdownToggleCheckbox, I'm able to click anywhere on the text / dropdown.
Code
The text was updated successfully, but these errors were encountered:
Trying to replace the deprecated
Dropdown
, for an existing bulk select, and running into trouble.After a selection, the user cannot click on the "10 selected" text below to expand the list. We can only click on the down arrow to expand the list.
As a workaround, I wrapped the "10 selected" text in a
span
and used itsonClick
to open the list. However, this does not seem correct. I expected theonClick
ofMenuToggle
to be triggered.Notes
When the text is clicked:
onSelect
ofDropdown
isn't calledonClick
ofMenuToggle
isn't calledonChange
oronClick
ofMenuToggleCheckbox
are calledWith the older, deprecated
Dropdown
/DropdownToggleCheckbox
, I'm able to click anywhere on the text / dropdown.Code
The text was updated successfully, but these errors were encountered: