Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[canvaskit] remove the DOM node of unrendered platform view #24001

Merged
merged 1 commit into from
Jan 29, 2021

Conversation

yjbanov
Copy link
Contributor

@yjbanov yjbanov commented Jan 27, 2021

Remove the DOM node of unrendered platform view. Until we have <slot>s the platform view nodes need to be physically removed from the document. Otherwise, they leave halos until disposed of.

Fixes flutter/flutter#74676
Fixes flutter/flutter#69813

Copy link
Member

@ditman ditman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change makes sense to me! Thanks for the fix!

@chinmaygarde chinmaygarde added the platform-web Code specifically for the web engine label Jan 28, 2021
Copy link
Contributor

@harryterkelsen harryterkelsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@yjbanov yjbanov merged commit 2351391 into flutter:master Jan 29, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 29, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 29, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 29, 2021
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jan 29, 2021
christopherfujino added a commit that referenced this pull request Feb 3, 2021
…24142)

* add ffi_allocation_patch.dart to libraries.yaml 2 (#23954)

* Use `runes` to get code units in CanvasKit. (#24024)

* [windows] Honor only valid resize requests (#23990)

* Load FlutterLoader when creating FlutterEngineGroup (#23980)

* [canvaskit] remove the DOM node of unrendered platform view (#24001)

* update dart to 2.12.0-259.8.beta

* [web] Fix svg based stroke rendering. (#23969)

* [canvaskit] fix text background, foreground, color; add text style tests (#23800)

* [canvaskit] fix text background, foreground, familyFallback; add style tests

* add leak test

* update goldens_lock.yaml

* remove solo

* Warn when popping out of empty text style stack

* [web] Fix alignment issue in rich paragraphs (#23965)

* [web] Implement CanvasParagraph.getLineBoundary (#24037)

* [web] Fix text alignment when transform + tight constraints + DOM rendering (#24036)

* update licenses_third_party golden

Co-authored-by: Daco Harkes <dacoharkes@google.com>
Co-authored-by: Harry Terkelsen <hterkelsen@users.noreply.github.com>
Co-authored-by: Kaushik Iska <iska.kaushik@gmail.com>
Co-authored-by: xster <xster@google.com>
Co-authored-by: Yegor <yjbanov@google.com>
Co-authored-by: Ferhat <ferhat@gmail.com>
Co-authored-by: Mouad Debbar <mouad.debbar@gmail.com>
hjfreyer pushed a commit to hjfreyer/engine that referenced this pull request Mar 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes platform-web Code specifically for the web engine
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[google_maps_flutter_web] Widget not disappearing after route change [web] IFrameElement will not get disposed on navigating back
5 participants