fix/focus-timer-view (#26)

* Auto focus button in timer view

* Revert find projects by identifier without alphanumerical characters

* Update changelog
This commit is contained in:
Manuel Bouza
2019-10-17 11:47:05 +02:00
committed by Tobias Miesel
parent 76d57729f4
commit 12c8b8e3eb
5 changed files with 12 additions and 19 deletions

View File

@@ -25,7 +25,7 @@ export default function TimerView({ timedActivity, onStopTimer }) {
offset={timedActivity.seconds}
style={{ fontSize: "36px", display: "inline-block" }}
/>
<button className="moco-bx-btn btn-stop-timer" onClick={handleStopTimer}>
<button className="moco-bx-btn btn-stop-timer" onClick={handleStopTimer} autoFocus>
<StopWatch />
</button>
</div>