Skip to content

Commit

Permalink
Fix: autosize
Browse files Browse the repository at this point in the history
  • Loading branch information
insmac committed Dec 13, 2024
1 parent ad2e638 commit 99c6e5a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const TableSelector = ({

inputRef.current.style.width = `calc(${
defaultValue !== "" ? defaultValue.length : placeholder.length
}ch + 1.2rem)`
}ch + 1.5rem)`

if (inputRef.current && !loading) {
setQuery(defaultValue ?? "")
Expand Down

0 comments on commit 99c6e5a

Please sign in to comment.