Missing paper-dropdown...why?

489 views
Skip to first unread message

Jeff S

unread,
Sep 10, 2014, 8:57:17 PM9/10/14
to polym...@googlegroups.com
Is there a reason why this doesn't exist in the dart package even though it is shown in the polymer doc?  It is the only one that is missing from the paper_elements package, at least based on what I see on the docs page.

Core-dropdown exists but I have been toying with the paper-elements, just to see how they work.  Not a big deal as I am just trying to learn some stuff...starting simple by changing the polymer dart codelab (https://www.dartlang.org/codelabs/polymer/) to use paper elements instead.

Thanks!

Günter Zöchbauer

unread,
Sep 11, 2014, 10:53:10 AM9/11/14
to polym...@googlegroups.com
It's new. As far as I know it's already included in the Repository and will be released when the update of Polymer.dart to the current Polymer.js version is finished.

Matthew Butler

unread,
Sep 11, 2014, 11:21:17 AM9/11/14
to polym...@googlegroups.com
Indeed, the repository is here: https://github.com/Polymer/paper-dropdown-menu 

Matt

Jeff S

unread,
Sep 11, 2014, 1:08:16 PM9/11/14
to polym...@googlegroups.com
Thanks guys.

David James

unread,
Sep 17, 2014, 12:09:24 PM9/17/14
to polym...@googlegroups.com
It looks to me like this is what happened:
* core-dropdown was renamed to core-dropdown-menu
* paper-dropdown was renamed to paper-dropdown-menu

I'm not sure why. The names seemed ok to me.

David James

unread,
Sep 17, 2014, 12:33:24 PM9/17/14
to polym...@googlegroups.com
After looking at this again, I think my earlier comment was wrong.

In Github, I see these repositories:
  • core-dropdown: Alive. First commit on Aug. 28, 2014.
  • core-dropdown-menu: Alive. First commit on Aug. 1, 2014. Builds on top of core-dropdown.
  • paper-dropdown: Dead. Github repository now points to paper-dropdown-menu.
  • paper-dropdown-menu: Alive. First commit on Aug. 12, 2014.
Would the Polymer author(s) care to comment about the renaming?

It looks to me like some of the Bower dependencies are a bit mixed up at the moment after these changes.

Yvonne Yip

unread,
Sep 18, 2014, 7:31:12 PM9/18/14
to David James, polymer-dev
That is the correct list of dropdown-related elements.

* core-dropdown - A generic drop-down. You provide the trigger element, and you can put whatever you want in the drop-down body.
* core-dropdown-menu - A <select>-like element implemented with core-dropdown. The drop-down body contains a menu and the trigger element shows the selected item.
* paper-dropdown-menu - The material design version of the above.
* paper-dropdown - renamed to paper-dropdown-menu to be consistent with core-dropdown-menu

Sorry about the inconvenience with the renaming. These elements are quite new and are in flux. We hope to keep this type of changes to a minimum while making sure they have the right names and API.

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/f8d2f254-360e-4146-bf4d-41f34cc687fb%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Message has been deleted

hri...@gmail.com

unread,
Dec 23, 2014, 8:45:26 PM12/23/14
to polym...@googlegroups.com
Can you give an example using just paper-dropdown-menu because all of the examples that I can find include paper-down

sstr...@gmail.com

unread,
Dec 26, 2014, 7:07:04 PM12/26/14
to polym...@googlegroups.com, david...@gmail.com

All of the documentation I can find for paper-dropdown-menu includes using paper-dropdown as a child (see https://www.polymer-project.org/docs/elements/paper-elements.html#paper-dropdown-menu).  If it was just a renaming, why are both being used at the same time?

Arthur Evans

unread,
Dec 29, 2014, 2:15:53 PM12/29/14
to sstr...@gmail.com, polymer-dev, david...@gmail.com
Hi folks,

The original answer here (from back in September) is outdated. A paper-dropdown element was added a few months later, which is parallel to the core-dropdown element, but with the material design look and feel. So the example in the API doc is correct.

Here's a jsbin of that example the necessary imports added:


For comparison, here's the same example with the undecorated core-dropdown in place of the paper-dropdown:


As you can see, it lacks the shadow and open animation of the paper-dropdown.

(Note that there's an open issue with the paper-dropdown/paper-dropdown-menu where the animation appears to stutter when it's re-opened: https://github.com/Polymer/paper-dropdown-menu/issues/45)



Reply all
Reply to author
Forward
0 new messages