CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 10:53:14 GMT
content-type: text/html; charset=utf-8
cache-control: max-age=0, private, must-revalidate
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
link: ; rel=preload; as=fetch; crossorigin=use-credentials
referrer-policy: no-referrer-when-downgrade
server-timing: issue_layout-fragment;desc="issue_layout fragment";dur=265.890393,issue_conversation_content-fragment;desc="issue_conversation_content fragment";dur=734.321528,issue_conversation_sidebar-fragment;desc="issue_conversation_sidebar fragment";dur=92.784644,nginx;desc="NGINX";dur=1.529294,glb;desc="GLB";dur=101.464337
strict-transport-security: max-age=31536000; includeSubdomains; preload
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With, Accept,Accept-Encoding, Accept, X-Requested-With
x-content-type-options: nosniff
x-frame-options: deny
x-voltron-version: a2eb102
x-xss-protection: 0
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=XHfF6XNmEmJelH0rqybxBTSci%2B0ePUkO%2F1p8FpgzEZWk3u2xjq7UmL7VZL5xcDRk1FS%2F97CgtBdkycXCZdIl3ga%2Fj1FtnPhIFjqtsTszMaoVZlCsZJuHxgxq0wQiKBmnzrIgHd1lDqbb7hLikU5YnXnfNaOpX51hJYPOMgiJrN8xN%2FPbxTKbL8ISZnQkcCa50E7MhuJjzLz4hbhQgEIyKfQX30am2Q8tNDSnbozLlOkS8sKBQOaIKcltVX4VK3zUGDMF8jgldC%2BX0t9Vj6Boqg%3D%3D--nHP9JdH8w1PA2crj--mTABCc8B3jSaGNJaiulZeQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.768422031.1753613593; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 10:53:13 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 10:53:13 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: A684:1A1F38:D7BA0F:11C8CEB:68860519
iframe consumes pointer events from widgets appearing on top · Issue #54027 · flutter/flutter · GitHub
No typeNo projectsNo milestoneNone yetNo branches or pull requests
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Closed
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listcustomer: junecustomer: web10e: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for WebCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webe: web_htmlHTML rendering backend for WebHTML rendering backend for Webengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.found in release: 1.18Occurs in 1.18Occurs in 1.18found in release: 1.22Found to occur in 1.22Found to occur in 1.22frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specifically
Description
Steps to Reproduce
// ignore: avoid_web_libraries_in_flutter
import 'dart:html';
import 'dart:ui' as ui;
import 'package:flutter/material.dart';
void main() {
// ignore:undefined_prefixed_name
ui.platformViewRegistry.registerViewFactory('someViewType', (int viewId) {
final wrapper = DivElement();
final div = IFrameElement()
..width = '640'
..height = '360'
..src = 'https://www.youtube.com/embed/IyFZznAk69U'
..style.border = 'none';
wrapper.append(div);
return wrapper;
});
runApp(MaterialApp(home: HomeScreen()));
}
class HomeScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
drawer: Drawer(child: Container(color:Colors.yellow, child: RaisedButton(
onPressed:()=>debugPrint("123123")
))),
body: SizedBox(
width: 640,
height: 360,
child: HtmlWidget(),
),
floatingActionButton: Builder(builder: (context) {
return FloatingActionButton(
child: Icon(Icons.menu, color: Colors.white),
onPressed: () {
Scaffold.of(context).openDrawer();
},
);
}),
);
}
}
class HtmlWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return HtmlElementView(viewType: 'someViewType');
}
}
class HtmlHelloWorldWidget extends StatelessWidget {
@override
Widget build(BuildContext context) {
return HtmlElementView(viewType: 'hello-world-html');
}
}
flutter doctor -v
[✓] Flutter (Channel dev, v1.16.4-pre.50, on Mac OS X 10.15.4 19E266, locale
zh-Hans-US)
• Flutter version 1.16.4-pre.50 at /Users/angus/flutter
• Framework revision d14a301e41 (4 days ago), 2020-03-31 19:14:22 -0400
• Engine revision fc5b44c901
• Dart version 2.8.0 (build 2.8.0-dev.18.0 e8c4aed700)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/angus/Library/Android/sdk
• Platform android-29, build-tools 29.0.2
• Java binary at: /Applications/Android
Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4, Build version 11E146
• CocoaPods version 1.9.0.beta.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 44.0.2
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build
1.8.0_212-release-1586-b4-5784211)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.2)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 43.0.3
• Dart plugin version 193.6015.53
[✓] VS Code (version 1.43.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.9.0
[✓] Connected device (3 available)
• macOS • macOS • darwin-x64 • Mac OS X 10.15.4 19E266
• Chrome • chrome • web-javascript • Google Chrome 80.0.3987.149
• Web Server • web-server • web-javascript • Flutter Tools
• No issues found!
Sammius, d-wolf, jing-pei, brownson, carloshwa and 10 morejing-pei and papmodern
Metadata
Metadata
Assignees
Labels
P1High-priority issues at the top of the work listHigh-priority issues at the top of the work listcustomer: junecustomer: web10e: web_canvaskitCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for WebCanvasKit (a.k.a. Skia-on-WebGL) rendering backend for Webe: web_htmlHTML rendering backend for WebHTML rendering backend for Webengineflutter/engine repository. See also e: labels.flutter/engine repository. See also e: labels.found in release: 1.18Occurs in 1.18Occurs in 1.18found in release: 1.22Found to occur in 1.22Found to occur in 1.22frameworkflutter/packages/flutter repository. See also f: labels.flutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyWeb applications specifically
Type
Projects
Milestone
Relationships
Development
Issue actions
You can’t perform that action at this time.