diff options
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js | 1 | ||||
-rw-r--r-- | server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js b/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js index e8678880198..1ce1141fa11 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js +++ b/server/sonar-web/src/main/js/apps/projects/filters/SearchFilter.js @@ -75,7 +75,6 @@ export default class SearchFilter extends React.PureComponent { placeholder={translate('projects.search')} onChange={this.handleQueryChange} autoComplete="off" - autoFocus={true} /> <span className="note spacer-left"> {translateWithParameters('select2.tooShort', 2)} diff --git a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap index dad2089b3a3..55bfe8e9fa9 100644 --- a/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap +++ b/server/sonar-web/src/main/js/apps/projects/filters/__tests__/__snapshots__/SearchFilter-test.js.snap @@ -4,7 +4,6 @@ exports[`test should display a help message when there is less than 2 characters data-key="search"> <input autoComplete="off" - autoFocus={true} className="input-super-large touched" onChange={[Function]} placeholder="projects.search" @@ -23,7 +22,6 @@ exports[`test should display a help message when there is less than 2 characters data-key="search"> <input autoComplete="off" - autoFocus={true} className="input-super-large" onChange={[Function]} placeholder="projects.search" @@ -42,7 +40,6 @@ exports[`test should render correctly without any search query 1`] = ` data-key="search"> <input autoComplete="off" - autoFocus={true} className="input-super-large" onChange={[Function]} placeholder="projects.search" @@ -61,7 +58,6 @@ exports[`test should render with a search query 1`] = ` data-key="search"> <input autoComplete="off" - autoFocus={true} className="input-super-large" onChange={[Function]} placeholder="projects.search" |