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 +1
-16
lines changed
lib/web_ui/lib/src/engine Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -316,22 +316,7 @@ flt-glass-pane * {
316
316
// apps fully specifies their text styles.
317
317
setElementStyle (bodyElement, 'font' , defaultCssFont);
318
318
setElementStyle (bodyElement, 'color' , 'red' );
319
-
320
- // TODO(flutter_web): send the location during the scroll for more frequent
321
- // location updates from the framework. Remove spellcheck=false property.
322
- /// The spell check is being disabled for now.
323
- ///
324
- /// Flutter web is positioning the input box on top of editable widget.
325
- /// This location is updated only in the paint phase of the widget.
326
- /// It is wrong during the scroll. It is not important for text editing
327
- /// since the content is already invisible. On the other hand, the red
328
- /// indicator for spellcheck gets confusing due to the wrong positioning.
329
- /// We are disabling spellcheck until the location starts getting updated
330
- /// via scroll. This is possible since we can listen to the scroll on
331
- /// Flutter.
332
- /// See [HybridTextEditing] .
333
- bodyElement.spellcheck = false ;
334
-
319
+
335
320
for (html.Element viewportMeta
336
321
in html.document.head.querySelectorAll ('meta[name="viewport"]' )) {
337
322
if (assertionsEnabled) {
You can’t perform that action at this time.
0 commit comments