We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15bf28d commit af76f4aCopy full SHA for af76f4a
ui/v2.5/src/components/List/Filters/FilterSidebar.tsx
@@ -30,9 +30,9 @@ export const FilteredSidebarHeader: React.FC<{
30
const [, setFocus] = focus;
31
32
// Set the focus on the input field when the sidebar is opened
33
- // Don't do this on mobile devices
+ // Don't do this on touch devices
34
useEffect(() => {
35
- if (sidebarOpen && !ScreenUtils.isMobile()) {
+ if (sidebarOpen && !ScreenUtils.isTouch()) {
36
setFocus();
37
}
38
}, [sidebarOpen, setFocus]);
0 commit comments