Codesandbox-client: Autofocus when the add dependency modal pops up

Created on 13 Dec 2018  路  7Comments  路  Source: codesandbox/codesandbox-client

馃寛 Feature

馃憢

When you create on add a dependency the modal input should autofocus so that a user can just start typing.

I think a simple autofocus attr on the input could fix this

UI 馃敯 Beginner Friendly 馃 Improvement

Most helpful comment

All 7 comments

Hi, did you mean the "Add Dependency" button on the left pane of the editor? I'm probably wrong, but Is it working as expected? See video: https://youtu.be/2owrI8ZOpBQ

Auto-focus doesn't seem to occur on my machine (Chrome Version 71.0.3578.98 (Official Build) (64-bit) on Windows 10) either.

@chantastic also had to put a focus after selecting the "Add Dependency" button
https://youtu.be/CfV4EDqes38?t=95

@steventsao Sorry but the video seems unavailable... ??

image

Woohoo.
Just updated CSB & it works~ Thank you~

you all are beautiful 馃ぉ

So are you 馃ぉ

Auto-focus doesn't seem to occur on my machine (Chrome Version 71.0.3578.98 (Official Build) (64-bit) on Windows 10) either.

@chantastic also had to put a focus after selecting the "Add Dependency" button
https://youtu.be/CfV4EDqes38?t=95

@steventsao Sorry but the video seems unavailable... ??

image

=o It might've defaulted to private. Good to know that it's fixed now tho!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NataliaTepluhina picture NataliaTepluhina  路  3Comments

faceyspacey picture faceyspacey  路  3Comments

BingoRUS picture BingoRUS  路  3Comments

oliversturm picture oliversturm  路  3Comments

Haroenv picture Haroenv  路  3Comments