Skip to content

Conversation

@Josh-Cena
Copy link
Member

@Josh-Cena Josh-Cena commented Aug 29, 2025

Notable changes:

  • Non-standard features removed or explicitly noted as non-standard
  • Substantial information is removed from the landing page; the landing page only contains concepts
  • "Drag operations" page rewritten to only cover event firing and handling
  • "Recommended drag types" page merged into a bigger page about drag data store
  • New "Kanban board" guide to demonstrate in-page DnD, to parallel file DnD.

I did not fix #27654 the way requested, because DnD in fact does not contain three distinct topics. "In-page DnD" very much uses the same features as dragging in or dragging out, it just happens that there are certain events that don't fire for dragging in or dragging out.

@github-actions github-actions bot added Content:WebAPI Web API docs size/l [PR only] 501-1000 LoC changed labels Aug 29, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Aug 29, 2025

@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/xl [PR only] >1000 LoC changed and removed size/l [PR only] 501-1000 LoC changed labels Aug 30, 2025
@Josh-Cena Josh-Cena force-pushed the dnd-guides branch 3 times, most recently from d75a661 to a589dd0 Compare September 1, 2025 18:36
@Josh-Cena Josh-Cena marked this pull request as ready for review September 1, 2025 18:47
@Josh-Cena Josh-Cena requested review from a team as code owners September 1, 2025 18:47
@Josh-Cena Josh-Cena requested review from estelle, pepelsbey, sideshowbarker and wbamberg and removed request for a team, estelle, pepelsbey and sideshowbarker September 1, 2025 18:47
@wbamberg
Copy link
Collaborator

I am finally looking at this PR.

Copy link
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great. I've long been sad about the DnD docs on MDN but never managed to do it, as this PR shows, it's a lot of work.

I thought this was a really excellent explanation though and great examples, it's a massive improvement.

@Josh-Cena
Copy link
Member Author

I have bit the bullet and updated the drag data store page to describe exactly what browsers do, which may make it either messier or clearer, I don't know :)

Copy link
Collaborator

@wbamberg wbamberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 thanks. Great work!

@wbamberg wbamberg merged commit 8285d41 into mdn:main Oct 2, 2025
9 checks passed
@Josh-Cena Josh-Cena deleted the dnd-guides branch October 2, 2025 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs Content:WebAPI Web API docs size/xl [PR only] >1000 LoC changed

Projects

None yet

2 participants