Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Reset the location-bar's input value after blur
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrazee committed Mar 7, 2019
1 parent 41ca12b commit a95b7fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/new-shell-window/navbar/location.js
Expand Up @@ -330,6 +330,7 @@ class NavbarLocation extends LitElement {
// clear the selection range so that the next focusing doesnt carry it over
window.getSelection().empty()
bg.views.hideLocationBar()
this.shadowRoot.querySelector('.input-container input').value = this.url // reset value
this.isLocationFocused = false
}

Expand Down

0 comments on commit a95b7fc

Please sign in to comment.