Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PolymerElement ignores draggable #15564

Closed
DartBot opened this issue Dec 10, 2013 · 4 comments
Closed

PolymerElement ignores draggable #15564

DartBot opened this issue Dec 10, 2013 · 4 comments
Labels
closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented Dec 10, 2013

This issue was originally filed by Don.J.Olmste...@gmail.com


What steps will reproduce the problem?

  1. Create a new custom element
  2. Set the draggable attribute to true
  3. Attempt to drag the element

What is the expected output? What do you see instead?
The element cannot be dragged.

What version of the product are you using? On what operating system?
Dart SDK version 1.0.0.3_r30188
Polymer 0.9.1+1

Please provide any additional information below.
See http://stackoverflow.com/questions/19800171/how-to-make-a-polymer-element-draggable for example code.

A functioning example in Polymer.js http://jsbin.com/ejihim/1/edit

@jmesserly
Copy link

that JS bin is not using polymer.js correctly. you can tell because inspecting the element shows no shadow root. The lack of red styling is the other tip off :)

here is a fixed version:
http://jsbin.com/ejihim/7/edit

@jmesserly
Copy link

apparently doesn't happen in dart2js. my guess is this will be fixed when we update to Chrome 32 which has a new native Shadow DOM impl.


Added Area-Dartium, Library-ShadowDOM, Triaged labels.

@jmesserly
Copy link

or maybe not, the Blink bug is still open:
https://code.google.com/p/chromium/issues/detail?id=264983


Added Duplicate label.

@anders-sandholm
Copy link
Contributor

Removed Library-ShadowDOM label.
Added Pkg-ShadowDOM label.

@DartBot DartBot added Type-Defect closed-duplicate Closed in favor of an existing report labels Feb 6, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

4 participants