LadybirdBrowser / ancient-history

The Ladybird web browser
BSD 2-Clause "Simplified" License
1.62k stars 102 forks source link

Laydibird/UI: select location when you change tab #137

Open diegoiast opened 2 years ago

diegoiast commented 2 years ago

When you move to another tab, other browsers automatically select the location editor - so you can navigate into a new page. Lets do this.

Another hack I added here - when we just open a new tab - also select the location edit (this was tricky since we load a new page on new tabs)

This PR, is somewhat based on https://github.com/SerenityOS/ladybird/pull/112