mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 14:24:23 -05:00
[PR #547] [CLOSED] automatically focus the url input field on page load #13030
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/imputnet/cobalt/pull/547
Author: @josiahbergen
Created: 6/6/2024
Status: ❌ Closed
Base:
current← Head:autofocus-input-field📝 Commits (1)
db8fe88automatically focus the url input field on page load📊 Changes
1 file changed (+4 additions, -0 deletions)
View changed files
📝
src/front/cobalt.js(+4 -0)📄 Description
Cobalt now auto-focuses the url input field on page load (on desktop). This allows for a more seamless experience, as you now only need to press CTRL-V instead of selecting the input field with your mouse.
On mobile devices, however, this behaviour could be jarring; having the keyboard pop up on load can be confusing and cover up the website's contents. This has been prevented.
resolves #546
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.