Open TyHil opened 1 week ago
I want to be able to immediately start typing when I open Trends.
Add a prop to the SearchBar to enable MUI autoFocus on the homepage, but not the dashboard.
autoFocus
@NishilJ Can you try adding a comment like so to disable the eslint error // eslint-disable-next-line jsx-a11y/no-autofocus
// eslint-disable-next-line jsx-a11y/no-autofocus
or you can disable the whole rule in the package.json file.
package.json
Overview
I want to be able to immediately start typing when I open Trends.
Proposal
Add a prop to the SearchBar to enable MUI
autoFocus
on the homepage, but not the dashboard.