Repository navigation
[dart2wasm] iFrame locks position on transition into view #149909
Copy link
Copy link
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work liste: wasmIssues related to the wasm build of Flutter Web.Issues related to the wasm build of Flutter Web.e: web_skwasmSkwasm rendering backend for webSkwasm rendering backend for webplatform-webWeb applications specificallyWeb applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
Original issue filed on the Dart SDK repo - creating this issue to transfer to the Flutter Web team. From discussion on the original issue, it appears this may be the result of #133466.
Copied from original issue:
In DevTools, we use iFrames for a couple of features:
- The embedded Perfetto trace viewer on the Performance page
- DevTools extensions
In both cases, the iFrame is transitioned into view by a Flutter tab view. Upon selecting the "Timeline Events" tab on the Performance page or upon selecting a top level tab for a DevTools extension, the iFrame locks its position before fully transitioning into view:


Requirements:
- Pull the latest code from the flutter/devtools master branch
- Pull the latest code from the Dart SDK (or patch this change if it has not landed yet.)
- Set up your DevTools environment so that
Repro steps:
- Build DevTools from source with wasm:
devtools_tool serve --wasm. If you want to build with--no-strip-wasm, add the flag here before serving DevTools. - Run the Flutter gallery app (this app depends on
package:provider, which has a DevTools extension) - Copy the VM service URI from the Flutter gallery app and connect it to the DevTools instance you just served with wasm.
- Navigate to either the Performance screen > Timeline Events OR to the top level Provider screen tab (should be present as long as you are running flutter gallery) to observe the incorrect iFrame position.
If this does not repro on the first try, refresh the DevTools window in the browser and try again.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work liste: wasmIssues related to the wasm build of Flutter Web.Issues related to the wasm build of Flutter Web.e: web_skwasmSkwasm rendering backend for webSkwasm rendering backend for webplatform-webWeb applications specificallyWeb applications specificallyr: solvedIssue is closed as solvedIssue is closed as solvedteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Activity
darshankawar commentedon Jun 10, 2024
I will try to follow these steps and see if I can replicate it or not. Currently, based on the report, labeling for team's attention.
eyebrowsoffire commentedon Aug 1, 2024
I think this should be resolved after #152139. @kenzieschmoll can you confirm?
kenzieschmoll commentedon Aug 7, 2024
Confirmed this is resolved on
darshankawar commentedon Aug 8, 2024
Closing as resolved.
github-actions commentedon Aug 22, 2024
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.