[GH-ISSUE #546] Feature - First Focus #11603

Closed
opened 2026-05-08 07:04:33 -05:00 by GiteaMirror · 10 comments
Owner

Originally created by @prafullmaru on GitHub (Jun 6, 2024).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/546

When user visits tool, text box to paste link should get auto focus
Today when we visit tool, by default none of the control is active, making feel like on click of any button application will become active.

Set text box with auto focus after first render
a clear and concise description of any alternative solutions or features you've considered.

Below is comparision
Comparision

Originally created by @prafullmaru on GitHub (Jun 6, 2024). Original GitHub issue: https://github.com/imputnet/cobalt/issues/546 **When user visits tool, text box to paste link should get auto focus** Today when we visit tool, by default none of the control is active, making feel like on click of any button application will become active. **Set text box with auto focus after first render** a clear and concise description of any alternative solutions or features you've considered. **Below is comparision** ![Comparision](https://github.com/imputnet/cobalt/assets/105120779/f312a52d-9de8-4573-8f3b-23b04cc7c6d4)
GiteaMirror added the feature requestquestion labels 2026-05-08 07:04:33 -05:00
Author
Owner

@ihatespawn commented on GitHub (Jun 7, 2024):

you can click control on your keyboard to focus it for now if you don't want to use your mouse

<!-- gh-comment-id:2154446250 --> @ihatespawn commented on GitHub (Jun 7, 2024): you can click control on your keyboard to focus it for now if you don't want to use your mouse
Author
Owner

@wukko commented on GitHub (Jun 7, 2024):

cobalt already automatically focuses the input field when you press ctrl/cmd, what exactly do you want to be done differently?

<!-- gh-comment-id:2154620083 --> @wukko commented on GitHub (Jun 7, 2024): cobalt already automatically focuses the input field when you press ctrl/cmd, what exactly do you want to be done differently?
Author
Owner

@ihatespawn commented on GitHub (Jun 7, 2024):

cobalt already automatically focuses the input field when you press ctrl/cmd, what exactly do you want to be done differently?

this person wants the input field to automatically focus when you visit the page

<!-- gh-comment-id:2154852560 --> @ihatespawn commented on GitHub (Jun 7, 2024): > cobalt already automatically focuses the input field when you press ctrl/cmd, what exactly do you want to be done differently? this person wants the input field to automatically focus when you visit the page
Author
Owner

@wukko commented on GitHub (Jun 7, 2024):

automatically focus when you visit the page

why? what's the point if it gets focused once you press ctrl/cmd to paste the link?

<!-- gh-comment-id:2154855653 --> @wukko commented on GitHub (Jun 7, 2024): > automatically focus when you visit the page why? what's the point if it gets focused once you press ctrl/cmd to paste the link?
Author
Owner

@ihatespawn commented on GitHub (Jun 7, 2024):

why? what's the point if it gets focused once you press ctrl/cmd to paste the link?

idk dont ask me, ask @prafullmaru

<!-- gh-comment-id:2155479772 --> @ihatespawn commented on GitHub (Jun 7, 2024): > why? what's the point if it gets focused once you press ctrl/cmd to paste the link? idk dont ask me, ask @prafullmaru
Author
Owner

@prafullmaru commented on GitHub (Jun 13, 2024):

@wukko - In ideal, first action on site for me will be paste link. If textbox will not be focused, in that case user will have to bring textbox to active state and then paste it(when using keyboard and not UI button). So if we will have textbox focused, it will reduce one unnecessary click in textbox. Considering this as better in terms of UX.

<!-- gh-comment-id:2166172275 --> @prafullmaru commented on GitHub (Jun 13, 2024): @wukko - In ideal, first action on site for me will be paste link. If textbox will not be focused, in that case user will have to bring textbox to active state and then paste it(when using keyboard and not UI button). So if we will have textbox focused, it will reduce one unnecessary click in textbox. Considering this as better in terms of UX.
Author
Owner

@lostdusty commented on GitHub (Jun 13, 2024):

You can just paste the link the moment you access cobalt

<!-- gh-comment-id:2166714891 --> @lostdusty commented on GitHub (Jun 13, 2024): You can just paste the link the moment you access cobalt
Author
Owner

@ihatespawn commented on GitHub (Jun 14, 2024):

@wukko - In ideal, first action on site for me will be paste link. If textbox will not be focused, in that case user will have to bring textbox to active state and then paste it(when using keyboard and not UI button). So if we will have textbox focused, it will reduce one unnecessary click in textbox. Considering this as better in terms of UX.

IT WILL BE ACTIVE when you CLICK CTRL ON YOUR KEYBOARD AND YIOU PASTE USING CTRL +V!!!@!@!

<!-- gh-comment-id:2167576366 --> @ihatespawn commented on GitHub (Jun 14, 2024): > @wukko - In ideal, first action on site for me will be paste link. If textbox will not be focused, in that case user will have to bring textbox to active state and then paste it(when using keyboard and not UI button). So if we will have textbox focused, it will reduce one unnecessary click in textbox. Considering this as better in terms of UX. IT WILL BE ACTIVE when you CLICK CTRL ON YOUR KEYBOARD AND YIOU PASTE USING **CTRL** +V!!!@!@!
Author
Owner

@prafullmaru commented on GitHub (Jun 17, 2024):

I see, hitting Ctrl brings focus.
Just give thought from perceptive of user who don't know.
Ideal case - Just hitting Ctrl should bring shortcut options and should not perform any action itself.

If agree, we have changes in PR, else we can close this issue.

<!-- gh-comment-id:2173942973 --> @prafullmaru commented on GitHub (Jun 17, 2024): I see, hitting Ctrl brings focus. Just give thought from perceptive of user who don't know. Ideal case - Just hitting Ctrl should bring shortcut options and should not perform any action itself. If agree, we have changes in PR, else we can close this issue.
Author
Owner

@ihatespawn commented on GitHub (Jun 17, 2024):

Just hitting Ctrl should bring shortcut options

It's made to make it easy to paste, not to show shortcut options, for it could be Ctrl + / but never Ctrl.

<!-- gh-comment-id:2174430377 --> @ihatespawn commented on GitHub (Jun 17, 2024): > Just hitting Ctrl should bring shortcut options It's made to make it easy to paste, not to show shortcut options, for it could be `Ctrl` + `/` but never `Ctrl`.
Sign in to join this conversation.