-
Notifications
You must be signed in to change notification settings - Fork 27
Add Cancel button to OptionMenuList #205
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description of PDS-335 should have been written better, but the "Cancel" button was intended to only show up in the case that applyImmediately
is false, i.e. "Apply" and "Cancel" will show up together, but if there is a "Done" button (when applyImmediately
is true), then there is no need for a "Cancel" button (since it doesn't actually undo the selections).
Also, if there's an easy way to increase the min-width of the dropdown just a little bit, that might be helpful:
packages/react-components/source/scss/library/components/_menu-list.scss
Outdated
Show resolved
Hide resolved
packages/react-components/source/react/internal/option-menu-list/OptionMenuList.js
Outdated
Show resolved
Hide resolved
packages/react-components/source/scss/library/components/_button-select.scss
Outdated
Show resolved
Hide resolved
448e83d
to
eabe3dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolves PDS-335
Affects multiselect menus for ButtonSelect and Select/FormSelect.