vpusher / the-grid

Grid layout custom element with drag and drop capabilities
https://www.webcomponents.org/element/vpusher/the-grid
MIT License
129 stars 32 forks source link

Fix initial loading (see issue) and dispatch a dragging event (because we are cancelling the original) #18

Open yorrd opened 7 years ago

yorrd commented 7 years ago

Well, since this might not be the only possible solution, I'm going to share the problem I'm trying to solve: I want to

  1. know when any element on the page is dragged and therefore catch some form of track event from Polymer
  2. not removing the stopPropagation again, because then nested the-grids don't work anymore

So I made up this custom event which I'm currently using in my local branch of this component. If you have another better idea to solve this, let me know!