Provide reachability of ClayDropdown.Menu props when calling ClayAutocomplete.Dropdown #4284
Labels
comp: clay-components
Issues related to Clay components. (e.g ClayCard, ClayLabel...)
rfc
Similar to the RFC that are used in React.js, Ember.js, Gatsby.js and Rust, but to mark problems tha
Milestone
What is your proposal?
This proposal cames from liferay-frontend/liferay-portal#1471 (comment),
ClayAutocomplete.Dropdown
component is being used and the developer needed to create custom code to deal with clickOutside logicA solution for avoiding people repeating this logic is to enable passing properties to ClayDropdown.Menu component that is being used internally in ClayAutocomplete.Dropdown.
Why would adopting this proposal be beneficial?
Avoid repetition of logic when using ClayAutocomplete.Dropdown
What are the alternatives to this proposal?
Creating a property called
dropdownMenuProps
?It will look like:
The text was updated successfully, but these errors were encountered: