Skip to content

Commit

Permalink
fix: add focus on input field when you click the button to add a new …
Browse files Browse the repository at this point in the history
…task (#2994)

Co-authored-by: Nickii Miaro <miaronkirote@gmail.com>
  • Loading branch information
musale and Mnickii committed Feb 2, 2024
1 parent daf06bc commit 573fa45
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -792,6 +792,7 @@ export class MgtPlanner extends MgtTemplatedTaskComponent {
const taskTitle = html`
<fluent-text-field
autocomplete="off"
?autofocus=${this.isNewTaskVisible}
placeholder=${this.strings.newTaskPlaceholder}
.value="${this._newTaskName}"
class="new-task"
Expand Down

0 comments on commit 573fa45

Please sign in to comment.