René's URL Explorer Experiment


Title: Drag behavior for text being dragged into datatable is incomplete/odd · Issue #954 · plotly/dash-table · GitHub

Open Graph Title: Drag behavior for text being dragged into datatable is incomplete/odd · Issue #954 · plotly/dash-table

X Title: Drag behavior for text being dragged into datatable is incomplete/odd · Issue #954 · plotly/dash-table

Description: Editable datatables are powerful awesome ways to let your users configure various application data members. I've been working to implement a convenience feature that allows users to drag text (using the typical html drag via a client sid...

Open Graph Description: Editable datatables are powerful awesome ways to let your users configure various application data members. I've been working to implement a convenience feature that allows users to drag text (usin...

X Description: Editable datatables are powerful awesome ways to let your users configure various application data members. I've been working to implement a convenience feature that allows users to drag text (...

Opengraph URL: https://github.com/plotly/dash-table/issues/954

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Drag behavior for text being dragged into datatable is incomplete/odd","articleBody":"Editable datatables are powerful awesome ways to let your users configure various application data members. I've been working to implement a convenience feature that allows users to drag text (using the typical html drag via a client side callback) into cells to quickly populate them. This involves adding the draggable=true property to the Span containing the text, then attaching a callback of the flavor of:\r\n```\r\nitem.addEventListener(\"dragstart\", function(e) {\r\n        e.dataTransfer.setData('text/plain', item.innerText);\r\n}, false);\r\n```\r\nYou could do this with the EventListener extension too I imagine to make it more Dash-like.\r\n\r\nThe issue (which doesn't require you to implement that, just find a draggable element like this: https://www.kryogenix.org/code/browser/custom-drag-image.html and test with it) is that the only time the transferred data actually gets put into the cell is if the cell is already in focus/highlighted AND is empty. So a cell in focus with text in it already will not receive the transfer. A cell not in focus but empty will also not receive the data.\r\n\r\nSome screenshots to illustrate:\r\n\r\nSuccessfully dragging text into a cell:\r\n![image](https://user-images.githubusercontent.com/301111/209400033-b390a5f3-09a5-438e-b204-8bbd641f1b61.png)\r\n\r\nAll other instance (note the red No symbol where the mouse is):\r\n![image](https://user-images.githubusercontent.com/301111/209400080-b3176072-91f3-4770-b333-9595ce920bfa.png)\r\n\r\nOne other oddity I've noticed is that very occasionally, you _can_ drag text onto a cell which already contains text AND is in focus, and it will just prepend the text to the left. I can't seem to reliably reproduce this behavior though.\r\n\r\nOne thought I had was to manually modify the focus on mouseover or mouseup while the drag event is in process, but I would also need to go in and delete existing data on mouseup which seems problematic.\r\n\r\nThis behavior applies to any editable data table, but please let me know if my description is insufficient.","author":{"url":"https://github.com/kevroy314","@type":"Person","name":"kevroy314"},"datePublished":"2022-12-23T19:53:18.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/954/dash-table/issues/954"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:1622309d-8baf-a7c6-1b51-c8f014c2f699
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC380:12D7DC:A36588F:DC2624B:6A5EAE04
html-safe-nonce1631620fb52a7a67d0595961036f5ad0e86eb5cf1c8fb13448cfed5ccf4b3496
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzgwOjEyRDdEQzpBMzY1ODhGOkRDMjYyNEI6NkE1RUFFMDQiLCJ2aXNpdG9yX2lkIjoiNDYxMjIwNjAwMzMxMjU2OTg2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacca31d2b659f509980716e993928b4975da865652abb3021c0abdf632313eae98
hovercard-subject-tagissue:1509734294
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/dash-table/954/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a20ce478f8894354a2e36dd494552114bdd6a61ebdc27d46983faa72405cd34a/plotly/dash-table/issues/954
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a20ce478f8894354a2e36dd494552114bdd6a61ebdc27d46983faa72405cd34a/plotly/dash-table/issues/954
og:image:altEditable datatables are powerful awesome ways to let your users configure various application data members. I've been working to implement a convenience feature that allows users to drag text (usin...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekevroy314
hostnamegithub.com
expected-hostnamegithub.com
None7129250e6854dcc7bfa46fc877bb154b96762b31e3fa82fdf0697c71f08bb32c
turbo-cache-controlno-preview
go-importgithub.com/plotly/dash-table git https://github.com/plotly/dash-table.git
octolytics-dimension-user_id5997976
octolytics-dimension-user_loginplotly
octolytics-dimension-repository_id128151266
octolytics-dimension-repository_nwoplotly/dash-table
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id128151266
octolytics-dimension-repository_network_root_nwoplotly/dash-table
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
release3084c198d559e243975a7a7f61d0b80bcea2a724
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/plotly/dash-table/issues/954#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fplotly%2Fdash-table%2Fissues%2F954
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fdash-table%2Fissues%2F954
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%2Fdash-table
Reloadhttps://github.com/plotly/dash-table/issues/954
Reloadhttps://github.com/plotly/dash-table/issues/954
Reloadhttps://github.com/plotly/dash-table/issues/954
Please reload this pagehttps://github.com/plotly/dash-table/issues/954
plotly https://github.com/plotly
dash-tablehttps://github.com/plotly/dash-table
Please reload this pagehttps://github.com/plotly/dash-table/issues/954
Notifications https://github.com/login?return_to=%2Fplotly%2Fdash-table
Fork 72 https://github.com/login?return_to=%2Fplotly%2Fdash-table
Star 421 https://github.com/login?return_to=%2Fplotly%2Fdash-table
Code https://github.com/plotly/dash-table
Issues 226 https://github.com/plotly/dash-table/issues
Pull requests 6 https://github.com/plotly/dash-table/pulls
Actions https://github.com/plotly/dash-table/actions
Projects https://github.com/plotly/dash-table/projects
Security and quality 0 https://github.com/plotly/dash-table/security
Insights https://github.com/plotly/dash-table/pulse
Code https://github.com/plotly/dash-table
Issues https://github.com/plotly/dash-table/issues
Pull requests https://github.com/plotly/dash-table/pulls
Actions https://github.com/plotly/dash-table/actions
Projects https://github.com/plotly/dash-table/projects
Security and quality https://github.com/plotly/dash-table/security
Insights https://github.com/plotly/dash-table/pulse
Drag behavior for text being dragged into datatable is incomplete/oddhttps://github.com/plotly/dash-table/issues/954#top
https://github.com/kevroy314
kevroy314https://github.com/kevroy314
on Dec 23, 2022https://github.com/plotly/dash-table/issues/954#issue-1509734294
https://www.kryogenix.org/code/browser/custom-drag-image.htmlhttps://www.kryogenix.org/code/browser/custom-drag-image.html
https://user-images.githubusercontent.com/301111/209400033-b390a5f3-09a5-438e-b204-8bbd641f1b61.png
https://user-images.githubusercontent.com/301111/209400080-b3176072-91f3-4770-b333-9595ce920bfa.png
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.