René's URL Explorer Experiment


Title: Fix: Optimize Drawing.bBox calls to prevent unnecessary reflows in complex DOMs by imbansalaniket · Pull Request #7497 · plotly/plotly.js · GitHub

Open Graph Title: Fix: Optimize Drawing.bBox calls to prevent unnecessary reflows in complex DOMs by imbansalaniket · Pull Request #7497 · plotly/plotly.js

X Title: Fix: Optimize Drawing.bBox calls to prevent unnecessary reflows in complex DOMs by imbansalaniket · Pull Request #7497 · plotly/plotly.js

Description: Description This PR addresses a performance issue caused by repeated calls to Drawing.bBox which appends and remove test node to the tester element in the DOM, which were leading to unnecessary lay...

Open Graph Description: Description This PR addresses a performance issue caused by repeated calls to Drawing.bBox which appends and remove test node to the tester element in the DOM, which were leading to unnecessary lay...

X Description: Description This PR addresses a performance issue caused by repeated calls to Drawing.bBox which appends and remove test node to the tester element in the DOM, which were leading to unnecessary lay...

Opengraph URL: https://github.com/plotly/plotly.js/pull/7497

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:68c86ff7-e068-2113-41a5-0d34ff8163d3
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF98:2ADE67:286A451:379AAE9:6964E342
html-safe-nonceff811d1c8d9b2bbf5e8dbc0869858a5e9dd49232950bcd3dd11c9a4e335d205a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjk4OjJBREU2NzoyODZBNDUxOjM3OUFBRTk6Njk2NEUzNDIiLCJ2aXNpdG9yX2lkIjoiMjAyNjgxNTM0OTU4NjE5MTE3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac10833493d65357a9946210c7eeea9d20203d0364155daf2431d3e5bf7cd64acc
hovercard-subject-tagpull_request:2701048541
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/plotly/plotly.js/7497/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f459439cbc409ced9af516adb7eca936c442fd28d2860ed6ba655b7195fb3ee4/plotly/plotly.js/pull/7497
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f459439cbc409ced9af516adb7eca936c442fd28d2860ed6ba655b7195fb3ee4/plotly/plotly.js/pull/7497
og:image:altDescription This PR addresses a performance issue caused by repeated calls to Drawing.bBox which appends and remove test node to the tester element in the DOM, which were leading to unnecessary lay...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameimbansalaniket
hostnamegithub.com
expected-hostnamegithub.com
None5838582163a1256e5ebd5086b7e1dc5cea93d82086c9c8b1395fb50f6ddab28d
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
release8edad3509fd3b4374694551987974bbbcfd316c0
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/plotly.js/pull/7497#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F7497
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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/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%2Fpull%2F7497
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%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=plotly%2Fplotly.js
Reloadhttps://github.com/plotly/plotly.js/pull/7497
Reloadhttps://github.com/plotly/plotly.js/pull/7497
Reloadhttps://github.com/plotly/plotly.js/pull/7497
plotly https://github.com/plotly
plotly.jshttps://github.com/plotly/plotly.js
Please reload this pagehttps://github.com/plotly/plotly.js/pull/7497
Notifications https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Fork 2k https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Star 18k https://github.com/login?return_to=%2Fplotly%2Fplotly.js
Code https://github.com/plotly/plotly.js
Issues 741 https://github.com/plotly/plotly.js/issues
Pull requests 46 https://github.com/plotly/plotly.js/pulls
Actions https://github.com/plotly/plotly.js/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/plotly/plotly.js/security
Please reload this pagehttps://github.com/plotly/plotly.js/pull/7497
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 https://github.com/plotly/plotly.js/security
Insights https://github.com/plotly/plotly.js/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fplotly%2Fplotly.js%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fplotly%2Fplotly.js%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/plotly/plotly.js/pull/7497#issue-comment-box
imbansalanikethttps://github.com/imbansalaniket
plotly:masterhttps://github.com/plotly/plotly.js/tree/master
imbansalaniket:fix/performance-issue-unnecessary-reflowshttps://github.com/imbansalaniket/plotly.js/tree/fix/performance-issue-unnecessary-reflows
Fix: Optimize Drawing.bBox calls to prevent unnecessary reflows in complex DOMs https://github.com/plotly/plotly.js/pull/7497#top
imbansalanikethttps://github.com/imbansalaniket
plotly:masterhttps://github.com/plotly/plotly.js/tree/master
imbansalaniket:fix/performance-issue-unnecessary-reflowshttps://github.com/imbansalaniket/plotly.js/tree/fix/performance-issue-unnecessary-reflows
Conversation 3 https://github.com/plotly/plotly.js/pull/7497
Commits 4 https://github.com/plotly/plotly.js/pull/7497/commits
Checks 4 https://github.com/plotly/plotly.js/pull/7497/checks
Files changed https://github.com/plotly/plotly.js/pull/7497/files
Please reload this pagehttps://github.com/plotly/plotly.js/pull/7497
https://github.co/hiddenchars
https://github.com/plotly/plotly.js/pull/{{ revealButtonHref }}
https://github.com/imbansalaniket
imbansalanikethttps://github.com/imbansalaniket
Jul 28, 2025https://github.com/plotly/plotly.js/pull/7497#issue-3270196572
https://private-user-images.githubusercontent.com/33326906/471539556-dce37f84-a306-4c83-af3b-09b50f0019d7.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjgyMTk3NTgsIm5iZiI6MTc2ODIxOTQ1OCwicGF0aCI6Ii8zMzMyNjkwNi80NzE1Mzk1NTYtZGNlMzdmODQtYTMwNi00YzgzLWFmM2ItMDliNTBmMDAxOWQ3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTEyVDEyMDQxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVlY2UzNmVkNzNiMjNjNzAxZmU4MGQ1Mzc0NDE0YWRiNDhlNGU3OTM5YjA0ZGY2NTNmODdhMTIyZWZiZDIzNDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.2A9nt7DkbstVlYZH6e93S1DsrVJsXtnNVaF165YRgNs
Raised herehttps://issues.chromium.org/issues/41340345
https://private-user-images.githubusercontent.com/33326906/471552109-7787bd1c-25de-4625-8cf6-2d946b3ce9b5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjgyMTk3NTgsIm5iZiI6MTc2ODIxOTQ1OCwicGF0aCI6Ii8zMzMyNjkwNi80NzE1NTIxMDktNzc4N2JkMWMtMjVkZS00NjI1LThjZjYtMmQ5NDZiM2NlOWI1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTEyVDEyMDQxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMzMGY4MjU3ODljZmI2YWFiNWRhODU4MmQ5MTUzODkwOTMzNTNjYWIzYjczNWFhNmZmNGJjYjM1NzgxN2M4MzgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1uOpf1gGfIONMA8dHfGa9IFobSsNqsWpC9QgMFMJEm4
Please reload this pagehttps://github.com/plotly/plotly.js/pull/7497
July 28, 2025 19:20https://github.com/plotly/plotly.js/pull/7497#commits-pushed-5045adf
Eliminate unnecessary DOM reflowshttps://github.com/plotly/plotly.js/pull/7497/commits/5045adf716b2cc29ab18159600ea5bb19927189f
5045adfhttps://github.com/plotly/plotly.js/pull/7497/commits/5045adf716b2cc29ab18159600ea5bb19927189f
https://github.com/imbansalaniket
Add draftlogs/7497_fix.mdhttps://github.com/plotly/plotly.js/pull/7497/commits/204dd5ac98c52f9389239829734fb08c30704b67
204dd5ahttps://github.com/plotly/plotly.js/pull/7497/commits/204dd5ac98c52f9389239829734fb08c30704b67
https://github.com/imbansalaniket
Merge branch 'plotly:master' into fix/performance-issue-unnecessary-r…https://github.com/plotly/plotly.js/pull/7497/commits/d3cc2d03b672f560adb66d51de2d7db3064aa6cd
d3cc2d0https://github.com/plotly/plotly.js/pull/7497/commits/d3cc2d03b672f560adb66d51de2d7db3064aa6cd
https://github.com/alexcjohnson
alexcjohnsonhttps://github.com/alexcjohnson
Jul 31, 2025https://github.com/plotly/plotly.js/pull/7497#issuecomment-3140443317
@imbansalanikethttps://github.com/imbansalaniket
https://app.circleci.com/pipelines/github/plotly/plotly.js/12418/workflows/12a27ec0-ea1e-45f9-9d25-196d14e5e1b7/jobs/275741/artifactshttps://app.circleci.com/pipelines/github/plotly/plotly.js/12418/workflows/12a27ec0-ea1e-45f9-9d25-196d14e5e1b7/jobs/275741/artifacts
https://app.circleci.com/pipelines/github/plotly/plotly.js/12418/workflows/12a27ec0-ea1e-45f9-9d25-196d14e5e1b7/jobs/275729https://app.circleci.com/pipelines/github/plotly/plotly.js/12418/workflows/12a27ec0-ea1e-45f9-9d25-196d14e5e1b7/jobs/275729
Please reload this pagehttps://github.com/plotly/plotly.js/pull/7497
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
emilyklhttps://github.com/emilykl
August 1, 2025 15:31https://github.com/plotly/plotly.js/pull/7497#event-18942090515
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
emilyklhttps://github.com/emilykl
Aug 1, 2025https://github.com/plotly/plotly.js/pull/7497#event-18942091780
https://github.com/gvwilson
gvwilsonhttps://github.com/gvwilson
community https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Acommunity
P1 https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3AP1
fix https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afix
Aug 1, 2025https://github.com/plotly/plotly.js/pull/7497#event-18942094315
https://github.com/imbansalaniket
imbansalanikethttps://github.com/imbansalaniket
Aug 4, 2025https://github.com/plotly/plotly.js/pull/7497#issuecomment-3150342171
@alexcjohnsonhttps://github.com/alexcjohnson
Please reload this pagehttps://github.com/plotly/plotly.js/pull/7497
Handled not in DOM node Drawing.bBoxhttps://github.com/plotly/plotly.js/pull/7497/commits/58c9e456bebe2e8dbc5cef4ffd336853a5667591
58c9e45https://github.com/plotly/plotly.js/pull/7497/commits/58c9e456bebe2e8dbc5cef4ffd336853a5667591
https://github.com/imbansalaniket
imbansalanikethttps://github.com/imbansalaniket
Sep 2, 2025https://github.com/plotly/plotly.js/pull/7497#issuecomment-3244280856
Please reload this pagehttps://github.com/plotly/plotly.js/pull/7497
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fplotly.js%2Fpull%2F7497
https://github.com/emilykl
emilykl https://github.com/emilykl
https://github.com/emilykl
emilykl https://github.com/emilykl
community https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Acommunity
fix https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3Afix
P1 https://github.com/plotly/plotly.js/issues?q=state%3Aopen%20label%3AP1
Please reload this pagehttps://github.com/plotly/plotly.js/pull/7497
https://github.com/imbansalaniket
https://github.com/alexcjohnson
https://github.com/gvwilson
https://github.com/emilykl
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.