Visitar URL original
[web] Anchor flt-semantics-host at 0,0 to fix WebKit semantics offset by flutter-zl · Pull Request #190486 · flutter/flutter · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[web] Point semantics-host anchor comment at #190483
  • Loading branch information
flutter-zl committed Aug 5, 2026
commit 0fefbfe3b15c2caf2d985175995239fce67eb77b
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class StyleManager {
// semantic element horizontally so taps on text fields land off the
// <input> and the keyboard never opens. Blink and Gecko resolve the same
// static position to 0, so this is a no-op there.
// See: https://github.com/flutter/flutter/issues/129324
// See: https://github.com/flutter/flutter/issues/190483
..left = '0'
..top = '0'
..transformOrigin = '0 0 0';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ void doTests() {
// The host must be anchored at the view origin. Without an explicit
// left/top it falls back to a static position flowed after its sibling
// hosts, offsetting the whole semantics tree. See:
// https://github.com/flutter/flutter/issues/129324
// https://github.com/flutter/flutter/issues/190483
expect(semanticsHost.style.left, '0px');
expect(semanticsHost.style.top, '0px');
expect(semanticsHost.style.transformOrigin, anyOf('0px 0px 0px', '0px 0px'));
Expand Down