-
Notifications
You must be signed in to change notification settings - Fork 78
feat: 1020: Shellbar pass popoverProps to SearchInput #1091
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
+ fix: productSwitch aria-label and its documentation + fix: popover props doc markdown
|
Deploy preview for fundamental-react ready! Built with commit cc344d1 |
| //to always show search-results popup towards bottom | ||
| disableEdgeDetection: true, | ||
| placement: 'bottom' | ||
| } |
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.
Should we add these as defaults (in shellbar only - not searchinput in general) for consumers that they can then override if they want to?
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.
Makes sense
| /** For navigating between products. An object that contains an accessible label for product switch button. */ | ||
| productSwitch: PropTypes.shape({ | ||
| /** Accessible label for product switch button */ | ||
| label: PropTypes.string.isRequired |
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.
👏 Should we mark this as a breaking change when merging since this is now required?
jbadan
left a comment
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.
LGTM 🚢 I know we have the issue going on with the snapshots but I think it's fine to merge this then fix the bug separately. It's up to you though
Description
With this change
placement='bottom'anddisableEdgeDetection=trueproductSwitch.labelproductSwitch.labelprop is now requiredproductSwitch.labelprop documentedwidthSizingTypeprop documentation markdown is fixed. Earlier, using MD codefixes #1020