Skip to content

Commit

Permalink
[AddressBar] select all input value when focused
Browse files Browse the repository at this point in the history
Fixes #34
  • Loading branch information
sensasi-delight committed Apr 30, 2024
1 parent a16013c commit 9332254
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Navbar/AddressBar/TextField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ export default function AddressBarTextfield(
)}
</InputAdornment>
),
onFocus: event => {
event.target.select()
},

// TODO: fix bookmark button, disabled for now
// endAdornment: (
Expand Down

0 comments on commit 9332254

Please sign in to comment.