Skip to content

Commit

Permalink
"focous" -> "focus" (#4073)
Browse files Browse the repository at this point in the history
  • Loading branch information
galengidman authored Mar 5, 2024
1 parent 815fae3 commit 1a321e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/en/plugins/focus.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ For example:
<a name="noautofocus"></a>
#### .noautofocus

By default, when `x-trap` traps focous within an element, it focuses the first focussable element within that element. This is a sensible default, however there are times where you may want to disable this behavior and not automatically focus any elements when `x-trap` engages.
By default, when `x-trap` traps focus within an element, it focuses the first focussable element within that element. This is a sensible default, however there are times where you may want to disable this behavior and not automatically focus any elements when `x-trap` engages.

By adding `.noautofocus`, Alpine will not automatically focus any elements when trapping focus.

Expand Down

0 comments on commit 1a321e6

Please sign in to comment.