mirror of
https://github.com/outline/outline.git
synced 2026-11-30 17:10:36 +03:00
Remove onFocus
Has no adverse effects so far, fingers crossed
This commit is contained in:
1 parent
61d4158d8c
commit
1cf83da73f
1 file changed
+1
-3
@@ -82,8 +82,6 @@ const PaginatedDropdown = ({
|
||||
setFilteredData(options);
|
||||
}, [options, selectedLabel]);
|
||||
|
||||
const handleOnFocus = () => {};
|
||||
|
||||
return (
|
||||
<Wrapper>
|
||||
<MenuButton {...menu}>
|
||||
@@ -94,7 +92,7 @@ const PaginatedDropdown = ({
|
||||
)}
|
||||
</MenuButton>
|
||||
<ContextMenu aria-label={defaultLabel} {...menu}>
|
||||
<StyledInputSearch onChange={handleFilter} onFocus={handleOnFocus} />
|
||||
<StyledInputSearch onChange={handleFilter} />
|
||||
<br />
|
||||
{/* A bit hacky but this creates just enough space for search box.
|
||||
Now absolute position works without first element getting stuck behind it.
|
||||
|
||||
Reference in new issue
Block a user