René's URL Explorer Experiment


Title: Update( ) fails if the user is interacting with the plot · Issue #2687 · plotly/plotly.js · GitHub

Open Graph Title: Update( ) fails if the user is interacting with the plot · Issue #2687 · plotly/plotly.js

X Title: Update( ) fails if the user is interacting with the plot · Issue #2687 · plotly/plotly.js

Description: Hi ! I use an heatmap to represent large datasets. After plotly_relayout events I download and process data (asynchronous, can take some time), then display them. However Plotly will return an undefined error from a promise if the update...

Open Graph Description: Hi ! I use an heatmap to represent large datasets. After plotly_relayout events I download and process data (asynchronous, can take some time), then display them. However Plotly will return an unde...

X Description: Hi ! I use an heatmap to represent large datasets. After plotly_relayout events I download and process data (asynchronous, can take some time), then display them. However Plotly will return an unde...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Update( ) fails if the user is interacting with the plot","articleBody":"Hi !\r\n\r\nI use an heatmap to represent large datasets. After plotly_relayout events I download and process data (asynchronous, can take some time), then display them. However Plotly will return an undefined error from a promise if the update is done while dragging. I used a setTimeout in the codepen to copy the behavior of my program.\r\n\r\nCodePen : https://codepen.io/watashiku/pen/pKJJNW?editors=1010\r\nError message : \r\n```\r\nplotly-latest.js:128472 Uncaught TypeError: Cannot read property 'length' of undefined\r\n    at exports.drawData (VM750 plotly-latest.js:128472)\r\n    at Object.lib.syncOrAsync (VM750 plotly-latest.js:119125)\r\n    at relayout (VM750 plotly-latest.js:125433)\r\n    at Object.exports.call (VM750 plotly-latest.js:153164)\r\n    at VM750 plotly-latest.js:133800\r\n    at Object.lib.syncOrAsync (VM750 plotly-latest.js:119125)\r\n    at Object.dragTail [as doneFn] (VM750 plotly-latest.js:133798)\r\n    at HTMLDocument.onDone (VM750 plotly-latest.js:102144)\r\n```\r\nSteps to reproduce : drag the plot once, then quickly start dragging again and hold it one second - the bug appears if you are dragging during the update triggered by the previous drag. \r\n\r\nIt creates two major problems :\r\n - The plot will be \"locked\" on the screen : panning or zooming will not affect the plot (only the axes in the background),\r\n - There is no plotly_afterplot event triggered by Plotly which means there is no way for me to tell the user that the plot is ready nor somehow handling the situation by myself (and the error cannot be catched outside of Plotly due to the way it is raise I think?).\r\n\r\nNotes : \r\n - When the bug happens clicking on the graph fixes it\r\n - The behavior is similar for react, restyle and addtrace. It does not appear with plot (but this creates traces for every relayout)","author":{"url":"https://github.com/Watashiku","@type":"Person","name":"Watashiku"},"datePublished":"2018-05-31T15:11:00Z","url":"https://github.com/plotly/plotly.js/issues/2687"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:7c01ce89-9087-7c08-4680-a62035aabd62
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBA2A:27D3AD:CFADB2:108B6BF:6B01003A
html-safe-nonce9f9409e3fe9be14f425cd4c38fd7104cf48f923e4a95eb290f2ad6f61a7692c4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTJBOjI3RDNBRDpDRkFEQjI6MTA4QjZCRjo2QjAxMDAzQSIsInZpc2l0b3JfaWQiOiI2MjY4NTA0MDA1ODAzMDQ5MDE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmace7985b1e9ceede88474dbcf10ec3b8575e41c00830925c1b0e9e317279f4f603
hovercard-subject-tagissue:328179735
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/2687/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9487f3e0d1fbf6f445af527d935bdb836ce2203bf6165016a3766de5a9183505/plotly/plotly.js/issues/2687
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9487f3e0d1fbf6f445af527d935bdb836ce2203bf6165016a3766de5a9183505/plotly/plotly.js/issues/2687
og:image:altHi ! I use an heatmap to represent large datasets. After plotly_relayout events I download and process data (asynchronous, can take some time), then display them. However Plotly will return an unde...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameWatashiku
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/plotly/plotly.js/issues/2687#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F2687
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fissues%2F2687
Sign uphttps://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/2687
Reloadhttps://github.com/plotly/plotly.js/issues/2687
Reloadhttps://github.com/plotly/plotly.js/issues/2687
plotlyhttps://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Codehttps://github.com/plotly/plotly.js
Issues726 (726)https://github.com/plotly/plotly.js/issues
Pull requests84 (84)https://github.com/plotly/plotly.js/pulls
Actionshttps://github.com/plotly/plotly.js/actions
Security and qualityhttps://github.com/plotly/plotly.js/security
Insightshttps://github.com/plotly/plotly.js/insights
https://github.com/plotly/plotly.js
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/2687
New issuehttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/2687
Update( ) fails if the user is interacting with the plothttps://github.com/plotly/plotly.js/issues/2687#top
https://github.com/Watashiku
Watashikuhttps://github.com/Watashiku
on May 31, 2018https://github.com/plotly/plotly.js/issues/2687#issue-328179735
https://codepen.io/watashiku/pen/pKJJNW?editors=1010https://codepen.io/watashiku/pen/pKJJNW?editors=1010
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
on Jun 1, 2018https://github.com/plotly/plotly.js/issues/2687#issuecomment-393724093
#2643https://github.com/plotly/plotly.js/issues/2643
#2644https://github.com/plotly/plotly.js/issues/2644
https://github.com/Watashiku
Watashikuhttps://github.com/Watashiku
on Jun 5, 2018https://github.com/plotly/plotly.js/issues/2687#issuecomment-394665228
https://github.com/jacobq
jacobqhttps://github.com/jacobq
on Jun 26, 2018https://github.com/plotly/plotly.js/issues/2687#issuecomment-400481584
https://codepen.io/jacobq_/pen/KexEEBhttps://codepen.io/jacobq_/pen/KexEEB
https://user-images.githubusercontent.com/1633459/41942462-28164edc-7965-11e8-921c-31d1c35dc9cd.png
jacobqhttps://github.com/jacobq
on Jun 27, 2018https://github.com/plotly/plotly.js/issues/2687#event-1704225966
Add guards for unsafe dereferencing (ref plotly#2687)https://github.com/jacobq/plotly.js/commit/b1164e73536a847d552249db178c1dcf5fe8054e
plotly#2687https://github.com/plotly/plotly.js/issues/2687
b1164e7https://github.com/jacobq/plotly.js/commit/b1164e73536a847d552249db178c1dcf5fe8054e
Add guards for unsafe dereferencing (ref plotly#2687)https://github.com/jacobq/plotly.js/commit/51861ee9d7ffded8384f1096d231815175b7891b
plotly#2687https://github.com/plotly/plotly.js/issues/2687
51861eehttps://github.com/jacobq/plotly.js/commit/51861ee9d7ffded8384f1096d231815175b7891b
Add guards for unsafe dereferencing (ref plotly#2687)https://github.com/jacobq/plotly.js/commit/d8925f71cbbfd07d475619f5984ecd67cce3fa3e
plotly#2687https://github.com/plotly/plotly.js/issues/2687
d8925f7https://github.com/jacobq/plotly.js/commit/d8925f71cbbfd07d475619f5984ecd67cce3fa3e
https://github.com/julesair
julesairhttps://github.com/julesair
on Oct 25, 2018https://github.com/plotly/plotly.js/issues/2687#issuecomment-433102291
https://github.com/wenBunny
wenBunnyhttps://github.com/wenBunny
on Oct 26, 2018https://github.com/plotly/plotly.js/issues/2687#issuecomment-433520801
https://github.com/etpinard
etpinardhttps://github.com/etpinard
on Dec 3, 2018https://github.com/plotly/plotly.js/issues/2687#issuecomment-443868034
#3305https://github.com/plotly/plotly.js/issues/3305
etpinardhttps://github.com/etpinard
completedhttps://github.com/plotly/plotly.js/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 3, 2018https://github.com/plotly/plotly.js/issues/2687#event-2002578555
Sign up for freehttps://github.com/signup?return_to=https://github.com/plotly/plotly.js/issues/2687
Sign in to commenthttps://github.com/login?return_to=https://github.com/plotly/plotly.js/issues/2687
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.