Set focus on port field when port-forward-dialog opens

Signed-off-by: Stefan Woehrer <stefan.woehrer@lean-coders.at>
This commit is contained in:
Stefan Woehrer committed 2022-07-26 15:57:23 +02:00
1 parent f61330611e
commit ed671fc2fe
1 file changed
+1
@@ -127,6 +127,7 @@ class NonInjectedPortForwardDialog extends Component<PortForwardDialogProps & De
value={this.desiredPort === 0 ? "" : String(this.desiredPort)}
placeholder={"Random"}
onChange={this.changePort}
autoFocus
/>
</div>
<Checkbox