We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba2fa9d commit c95a6cdCopy full SHA for c95a6cd
src/components/UI/SearchBar/index.tsx
@@ -42,7 +42,7 @@ export default function SearchBar() {
42
ref={input}
43
data-testid="searchInput"
44
placeholder={t('search')}
45
- id="search"
+ id="search" // this id is used for the virtualkeyboard, don't change it
46
className="FormControl__input"
47
/>
48
</FormControl>
src/helpers/gamepad.ts
@@ -181,7 +181,7 @@ export const initGamepad = () => {
181
const el = currentElement()
182
if (!el) return false
183
184
- return el.classList.contains('searchInput')
+ return el.id === 'search'
185
}
186
187
function playable() {
0 commit comments