René's URL Explorer Experiment


Title: Plotly.js is incompatible with Chrome's native shadow DOM implementation · Issue #1433 · plotly/plotly.js · GitHub

Open Graph Title: Plotly.js is incompatible with Chrome's native shadow DOM implementation · Issue #1433 · plotly/plotly.js

X Title: Plotly.js is incompatible with Chrome's native shadow DOM implementation · Issue #1433 · plotly/plotly.js

Description: Context I develop and maintain ginkgobioworks/plotly-plot, a Polymer element that encapsulates plotly.js. Polymer is a web-component framework written by Google, which uses browser functionality known as the "shadow DOM" to isolate the i...

Open Graph Description: Context I develop and maintain ginkgobioworks/plotly-plot, a Polymer element that encapsulates plotly.js. Polymer is a web-component framework written by Google, which uses browser functionality kn...

X Description: Context I develop and maintain ginkgobioworks/plotly-plot, a Polymer element that encapsulates plotly.js. Polymer is a web-component framework written by Google, which uses browser functionality kn...

Opengraph URL: https://github.com/plotly/plotly.js/issues/1433

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Plotly.js is incompatible with Chrome's native shadow DOM implementation","articleBody":"### Context\r\nI develop and maintain [ginkgobioworks/plotly-plot](https://github.com/ginkgobioworks/plotly-plot), a Polymer element that encapsulates plotly.js. Polymer is a web-component framework written by Google, which uses browser functionality known as the \"shadow DOM\" to isolate the internals of web components from the rest of the page.\r\n\r\nPolymer 1.x has two kinds of shadow DOM implementations: native shadow DOM (v0), and a\r\nshim called \"shady DOM.\" Native shadow DOM is newer and yields improved\r\nperformance, but it has poor support in browsers outside of Chrome\r\nand can cause problems with existing code. For this reason, shady DOM is\r\nstill the default implementation in Polymer 1.x.\r\n\r\n### Issue\r\nUnfortunately, native shadow DOM is currently incompatible with plotly.js. The\r\nicon toolbar layout code in the plotly.js library fails for all plotly plots\r\nrendered inside a shadow DOM.\r\n\r\n### Example\r\nSince it's a pain to create your own elements without the tools in a code pen, the easiest example to observe is on the [plotly-plot demo page](http://ginkgobioworks.github.io/plotly-plot/components/plotly-plot/demo/).\r\n\r\nYou can render the page either with shady DOM (the default) or with shadow DOM by [passing in the `?dom=shadow` GET parameter](http://ginkgobioworks.github.io/plotly-plot/components/plotly-plot/demo/?dom=shadow), which forces Polymer to use native shadow DOM v0 in [browsers that support it](http://caniuse.com/#feat=shadowdom).\r\n\r\n#### Expected/Observed\r\nUnder shady DOM (no GET parameter), the elements behave as expected. Under shadow DOM (with the GET parameter), however, the toolbars fail to render entirely.\r\n\r\n### Impact\r\nI don't know why this is the case. It might have to do with SVG support for the buttons, or CSS effects.\r\n\r\nThe work-around on my side is that anyone who consumes my element must not turn on native shadow DOM rendering on any page that renders a `plotly-plot` widget. This is fine for small, simple pages, but can be a real drag when front-end performance is at stake.\r\n\r\nI'm wondering if there might be a relatively easy fix that would prevent this from happening—if there is, it'd be nice to do it. If not, it's probably not worth doing any serious rewriting for this use case.\r\n\r\nIn any case, thought you'd be interested to know.\r\n\r\n","author":{"url":"https://github.com/myw","@type":"Person","name":"myw"},"datePublished":"2017-03-02T07:28:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/1433/plotly.js/issues/1433"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:40859b08-f766-f4cb-09c0-f1208d74877e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idDF48:321E68:3477FE1:4B2C961:6A568926
html-safe-nonce624f5642d55a003c108ec222af1a3ffbb6ce07a594de89f738b48f138d147e13
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjQ4OjMyMUU2ODozNDc3RkUxOjRCMkM5NjE6NkE1Njg5MjYiLCJ2aXNpdG9yX2lkIjoiOTA5MDk3NzA2MDM5OTUxNTk0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4d0dbf1c53b3b6f2f5f95e52512efc04ef0b8354642e55c313d9c7b110a8570a
hovercard-subject-tagissue:211310915
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/plotly/plotly.js/1433/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9860372d31e98080ea1b7ba450730d85730a9e5097607b85f31addcb9eb27ca9/plotly/plotly.js/issues/1433
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9860372d31e98080ea1b7ba450730d85730a9e5097607b85f31addcb9eb27ca9/plotly/plotly.js/issues/1433
og:image:altContext I develop and maintain ginkgobioworks/plotly-plot, a Polymer element that encapsulates plotly.js. Polymer is a web-component framework written by Google, which uses browser functionality kn...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemyw
hostnamegithub.com
expected-hostnamegithub.com
None8f21be8503ba8fe6154df415b855c03af52eae3f285bd6ae1fef041dc053da38
turbo-cache-controlno-preview
go-importgithub.com/plotly/plotly.js git https://github.com/plotly/plotly.js.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id45646037
octolytics-dimension-repository_nwoplotly/plotly.js
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id45646037
octolytics-dimension-repository_network_root_nwoplotly/plotly.js
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release78af172a48a2056810bb627ffa684003e4f9a5ca
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/plotly.js/issues/1433#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F1433
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F1433
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/issues/1433
Reloadhttps://github.com/plotly/plotly.js/issues/1433
Reloadhttps://github.com/plotly/plotly.js/issues/1433
Please reload this pagehttps://github.com/plotly/plotly.js/issues/1433
plotly https://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Please reload this pagehttps://github.com/plotly/plotly.js/issues/1433
Notifications https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Fork 2k https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Star 18.3k https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Code https://github.com/plotly/plotly.js
Issues 771 https://github.com/plotly/plotly.js/issues
Pull requests 56 https://github.com/plotly/plotly.js/pulls
Actions https://github.com/plotly/plotly.js/actions
Security and quality 0 https://github.com/plotly/plotly.js/security
Insights https://github.com/plotly/plotly.js/pulse
Code https://github.com/plotly/plotly.js
Issues https://github.com/plotly/plotly.js/issues
Pull requests https://github.com/plotly/plotly.js/pulls
Actions https://github.com/plotly/plotly.js/actions
Security and quality https://github.com/plotly/plotly.js/security
Insights https://github.com/plotly/plotly.js/pulse
Plotly.js is incompatible with Chrome's native shadow DOM implementationhttps://github.com/plotly/plotly.js/issues/1433#top
https://github.com/myw
mywhttps://github.com/myw
on Mar 2, 2017https://github.com/plotly/plotly.js/issues/1433#issue-211310915
ginkgobioworks/plotly-plothttps://github.com/ginkgobioworks/plotly-plot
plotly-plot demo pagehttp://ginkgobioworks.github.io/plotly-plot/components/plotly-plot/demo/
passing in the ?dom=shadow GET parameterhttp://ginkgobioworks.github.io/plotly-plot/components/plotly-plot/demo/?dom=shadow
browsers that support ithttp://caniuse.com/#feat=shadowdom
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.