Open samccone opened 9 years ago
My first question is: is this UX pattern something currently in the Material spec, or is this something that would be useful, but isn't listed there?
The pick-up-and-move gesture is also supported. However, consider whether it is important for the user to be able to sort cards within the collection, or if the content would be better organized using programmatic filtering or sorting.
:) :)
I think the MD spec actually supports the pick-and-move gesture (https://www.google.com/design/spec/components/cards.html#cards-behavior), so this isn't a bad idea. However, much like iron-swipeable-container
, I don't think this feature should be limited to just paper-cards
(I can see a scenario where you want to pick and move <div>
s), so maybe it should be an iron-drag-and-drop-container
.
Which brings us to the jar of spiders that is drag-and-drop, and me throwing the hot potato to @kevinpschaaf, who's looked at it before. TL DR: this is hard to get right and not slow and janky.
I think the MD spec actually supports the pick-and-move gesture (https://www.google.com/design/spec/components/cards.html#cards-behavior), so this isn't a bad idea.
Awesome!
so maybe it should be an iron-drag-and-drop-container.
:+1: On not limiting it to cards. I can see folks wanting to pick and move arbitrary content if this is supported.
so maybe it should be an iron-drag-and-drop-container.
:+1: I would love to have a iron-drag-and-drop-container.
Could this be Draggable and Droptarget behavior?
I think the MD spec actually supports the pick-and-move gesture (https://www.google.com/design/spec/components/cards.html#cards-behavior), so this isn't a bad idea. However, much like
iron-swipeable-container
, I don't think this feature should be limited to justpaper-cards
(I can see a scenario where you want to pick and move<div>
s), so maybe it should be aniron-drag-and-drop-container
.Which brings us to the jar of spiders that is drag-and-drop, and me throwing the hot potato to @kevinpschaaf, who's looked at it before. TL DR: this is hard to get right and not slow and janky.
Sounds really really good!
As a tracking side note, iron-swipeable-container
is now a thing (no drag-drop support): https://github.com/PolymerElements/iron-swipeable-container
http://demos.telerik.com/kendo-ui/sortable/linkedlists for trello like user interface or http://demos.telerik.com/kendo-ui/sortable/sortable-panels for dashboard (arranging google analytics widget)
Use cases:
Features:
Thoughts? bad idea? :cold_sweat: