You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/app/examples/focus-input.html
+37-30Lines changed: 37 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -2,48 +2,55 @@
2
2
3
3
<p>
4
4
To prevent forms from re-submitting data, focused elements will be <em>blured</em>
5
-
whenever a containing block is active.
6
-
Unless the focus has been changed by the user while the (non-global) block was active, the focus is restored whenever the block has finished.
5
+
whenever a containing block is active.
6
+
Unless the focus has been changed by the user while the (non-global) block was active, the focus is restored
7
+
whenever the block has finished.
7
8
</p>
9
+
8
10
<divclass="alert alert-info">
9
-
<p>Restoring focus to any input element other than the submit button is not possible in any version of <em>Internet Explorer</em>. All other major browsers should be able to restore the focus to any previous element.</p>
11
+
<p>Restoring focus to any input element other than the submit button is not possible in any version of <em>Internet
12
+
Explorer</em>. All other major browsers should be able to restore the focus to any previous element.</p>
10
13
</div>
11
14
<p>
12
-
The example below contains two forms both with their own blocking scope. Blocking is activated whenever the form is submitted by pressing enter in one of the inputs or by clicking on the submit button.
15
+
The example below contains two forms both with their own blocking scope. Blocking is activated whenever the form is
16
+
submitted by pressing enter in one of the inputs or by clicking on the submit button.
0 commit comments