-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
SearchBox: role=search is removed, but can be optionally defined via role prop. #15450
Conversation
I think you have the wrong base branch. |
I mean it looks like your local branch for this PR was based off of master. It should be based off of 7.0. |
Perf AnalysisNo significant results to display. All results
Perf Analysis (Fluent)Perf comparison
Perf tests with no regressions
|
Asset size changes
Baseline commit: 40edbe0aa78c0d1a56a3609318431fb4ceb4abe5 (build) |
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.
Seems like you are missing snapshot updates in @fluentui/react-examples
.
packages/office-ui-fabric-react/src/components/SearchBox/SearchBox.base.tsx
Show resolved
Hide resolved
🎉 Handy links: |
🎉 Handy links: |
<!-- !!!!!!! IMPORTANT !!!!!!! Due to work we're currently doing to prepare master branch for our version 8 beta release, please hold-off submitting the PR until around October 12 if it's not urgent. If it is urgent, please submit the PR targeting the 7.0 branch. This change does not apply to react-northstar contributors. See #15222 for more details. Sorry for the inconvenience and short notice. --> #### Pull request checklist - [ ] Addresses an existing issue: Fixes #0000 - [x] Include a change request file using `$ yarn change` #### Description of changes _Cherry-pick of #15450._ _Original PR description:_ ## Before: This JSX: ``` <SearchBox /> ``` Renders this HTML: ```jsx <div role="search"> <input ... /> </div> ``` ## After: This JSX: ``` <SearchBox /> <SearchBox role="search" /> ``` Renders this HTML: ```jsx <div> <input ... /> </div> <div role="search"> <input ... /> </div> ```
<!-- !!!!!!! IMPORTANT !!!!!!! Due to work we're currently doing to prepare master branch for our version 8 beta release, please hold-off submitting the PR until around October 12 if it's not urgent. If it is urgent, please submit the PR targeting the 7.0 branch. This change does not apply to react-northstar contributors. See microsoft#15222 for more details. Sorry for the inconvenience and short notice. --> #### Pull request checklist - [ ] Addresses an existing issue: Fixes #0000 - [x] Include a change request file using `$ yarn change` #### Description of changes _Cherry-pick of microsoft#15450._ _Original PR description:_ ## Before: This JSX: ``` <SearchBox /> ``` Renders this HTML: ```jsx <div role="search"> <input ... /> </div> ``` ## After: This JSX: ``` <SearchBox /> <SearchBox role="search" /> ``` Renders this HTML: ```jsx <div> <input ... /> </div> <div role="search"> <input ... /> </div> ```
Pull request checklist
$ yarn change
Description of changes
Before:
This JSX:
Renders this HTML:
After:
This JSX:
Renders this HTML: