This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
lib/web_ui/lib/src/engine Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ void _setStaticStyleAttributes(html.HtmlElement domElement) {
45
45
enum _InputAction {
46
46
/// Procced to next enput element.
47
47
next,
48
+
48
49
/// Newline has been entered in current input element.
49
50
newline,
50
51
}
@@ -410,9 +411,9 @@ class TextEditingElement {
410
411
if (event.which == 9 ) {
411
412
_onAction (_InputAction .next);
412
413
// The default action of the browser is to focus the next element.
413
- // As the browser is not able to focus flutter widgets, it will
414
+ // As the browser is not able to focus flutter widgets, it will
414
415
// focus some part of its UI (e.g. the location bar).
415
- // We prevent this action and leave it to the corresponding widget
416
+ // We prevent this action and leave it to the corresponding widget
416
417
// to change the focus.
417
418
event.preventDefault ();
418
419
}
@@ -747,7 +748,7 @@ class HybridTextEditing {
747
748
}
748
749
749
750
_InputActionToFlutter (_InputAction inputAction) {
750
- switch (inputAction) {
751
+ switch (inputAction) {
751
752
case _InputAction .next:
752
753
return 'TextInputAction.next' ;
753
754
break ;
You can’t perform that action at this time.
0 commit comments