core-drag-drop's People
Forkers
kidra dshoukim smysore custom-elements aulos silenthoo therewasaguy shycherry timcope jinhu rlugojr pkdevboxy jhaker senthilatcore-drag-drop's Issues
Polymer 2.0 version of this element?
Uncaught TypeError: undefined is not a function
Drag and drop is broken as of 14 hours ago. Here's the traceback from the core-drag-drop from http://www.polymer-project.org/components/core-drag-drop/demo.html and http://www.polymer-project.org/tools/designer:
Uncaught TypeError: undefined is not a function core-drag-drop.html:58
(anonymous function) core-drag-drop.html:58
Polymer.attached core-drag-drop.html:61
d.attachedCallback base.js:88
f.registerPrototype prototype.js:197
f.register prototype.js:26
d._register polymer-element.js:64
e.flush queue.js:100
e.ready queue.js:105
e.check queue.js:80
(anonymous function) queue.js:162
c HTMLImports.js:220
d HTMLImports.js:225
h HTMLImports.js:230
(anonymous function) HTMLImports.js:186
g HTMLImports.js:210
c HTMLImports.js:205
And points to this block of code:
attached: function() {
var listen = function(event, handler) {
PolymerGestures.addGesture(this.parentNode, event, this[handler].bind(this));
}.bind(this);
bower.json missing
a reference to bower.json seems to be missing. causing this error: GET http://localhost:8000/core-drag-drop/bower.json 404 (File not found) core-component-page.html:12
[feature needed]catch the hover target when dragging
As the title described. the this.dragInfo
:
listen('trackstart', 'trackStart');
listen('track', 'track');
listen('trackend', 'trackEnd');
has no hover target. So there's no way to make sure the element I will drop if I release my mouse here.
I found that global addEventListener('mousemove', ...)
can do this and send a pull request. But I've no idea about the perfect way.
Thanks.
Add a description in the GitHub repository
Polymer 1.0 version of this element?
"TypeError: node.getBoundingClientRect is not a function" on drop outside the document (FF 32)
Hi !
In Firefox 32, I get an error :
TypeError: node.getBoundingClientRect is not a function
with the core-drag-drop demo , when I drop an "Hello World" element outside the DOM document, or outside the browser window.
I get a similar error in node-webkit 0.10.5 (chromium 35) :
TypeError: Cannot read property 'getBoundingClientRect' of null"
In the framed
function, node
seems to be null.
No problem in Chrome 38.
Wrong avatar position after scrolling page
Needs element API documentation
Non smooth dragging in Safari 8
Hi, guys!
I tested drag-drop in my Safari 8 and found non-smooth dragging. Mobile Safari has this problem too. http://www.youtube.com/watch?v=v9awse0vCKg&feature=youtu.be
So I think the problem is requestAnimationFrame
behavior in Safari (for example http://stackoverflow.com/questions/27027914/css-translate3d-is-very-jumpy-on-safari-8). Is it possible to make polyfill for this case?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.