[PR #547] [CLOSED] automatically focus the url input field on page load #10084

Closed
opened 2026-04-24 16:11:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/547
Author: @josiahbergen
Created: 6/6/2024
Status: Closed

Base: currentHead: autofocus-input-field


📝 Commits (1)

  • db8fe88 automatically 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.

## 📋 Pull Request Information **Original PR:** https://github.com/imputnet/cobalt/pull/547 **Author:** [@josiahbergen](https://github.com/josiahbergen) **Created:** 6/6/2024 **Status:** ❌ Closed **Base:** `current` ← **Head:** `autofocus-input-field` --- ### 📝 Commits (1) - [`db8fe88`](https://github.com/imputnet/cobalt/commit/db8fe8832330c3f4d9792874497786846e7a5475) automatically focus the url input field on page load ### 📊 Changes **1 file changed** (+4 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/front/cobalt.js` (+4 -0) </details> ### 📄 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 16:11:01 -05:00
Sign in to join this conversation.