Getting "ParGroup is not defined" when trying to use polyer-ui-dropdown

171 views
Skip to first unread message

Paul Willarson

unread,
May 22, 2014, 10:16:57 AM5/22/14
to polym...@googlegroups.com
First I noticed this error when viewing the online demo for polymer-ui-dropdown, and I just thought that the demo might be out of date.  However I also get get this error when trying to use the element in my app.  It occurs when trying to toggle the dropdown.  The only references to PolyGroup I can find in all of the Polymer code is in "polymer-animation.html" and "polymer-overlay.html", and it's only when trying to instantiate the missing class.  There is no definition of it in core, elements or ui-elements.

Any help would be appreciated.

Thanks

 - Paul

Rob Dodson

unread,
May 23, 2014, 11:05:53 PM5/23/14
to Paul Willarson, Yvonne Yip, polymer-dev
Hm this might be the issue. polymer-ui-dropdown relies on polymer-animation which is calling an outdated bit of Web Animations. Yvonne should we update polymer-animation?


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/eb28214c-ce78-4d9e-9401-2968c31ca73b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

gadget...@googlemail.com

unread,
May 26, 2014, 12:19:07 PM5/26/14
to polym...@googlegroups.com, Paul Willarson, Yvonne Yip
I changed that line to

var transition = new AnimationGroup([

and it seems to work form me (based on the information from https://github.com/PolymerLabs/polymer-animation/commit/d6922389b0702b49c30f5217491ae3b276812a69)

Martin

Yvonne Yip

unread,
May 27, 2014, 2:08:25 AM5/27/14
to gadget...@googlemail.com, polymer-dev, Paul Willarson
I just fixed this in polymer-animation.

psve...@gmail.com

unread,
Jun 18, 2014, 8:32:59 AM6/18/14
to polym...@googlegroups.com, gadget...@googlemail.com, sche...@gmail.com
Hmm, this seems to be broken still as of now. Neither of the online examples work for drop-down or drop-up;


It would be great to have a drop-down menu element, so any love you can pour on this would be welcome!

Cheers,
PS

Mike Lawther

unread,
Jun 19, 2014, 2:54:26 AM6/19/14
to psve...@gmail.com, polym...@googlegroups.com, gadget...@googlemail.com, sche...@gmail.com
Looks like a different problem? When I look at those demos I'm seeing "Uncaught ReferenceError: Platform is not defined" in polymer.js.


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.

rnara...@gmail.com

unread,
Jul 29, 2014, 3:42:45 PM7/29/14
to polym...@googlegroups.com, psve...@gmail.com, gadget...@googlemail.com, sche...@gmail.com
Move platform.js to the top in demo.html and you will see the "ParGroup is not defined".

Yvonne Yip

unread,
Jul 29, 2014, 3:50:32 PM7/29/14
to rnara...@gmail.com, polymer-dev, psve...@gmail.com, Martin Amm, Paul Willarson
The polymer-ui-* elements are deprecated and no longer maintained. Please use the new core-* and paper-* elements.


rnara...@gmail.com

unread,
Jul 30, 2014, 9:56:39 AM7/30/14
to polym...@googlegroups.com, rnara...@gmail.com, psve...@gmail.com, gadget...@googlemail.com, sche...@gmail.com
Thanks Yvonne. I didn't realize that they are deprecated. But I don't see dropdown in core-* or paper-* elements list.

Yvonne Yip

unread,
Jul 30, 2014, 2:12:20 PM7/30/14
to raghu n, polymer-dev, Peter Svensson, Martin Amm, Paul Willarson
core-menu-button and paper-menu-button are the most similar to polymer-ui-dropdown.


Reply all
Reply to author
Forward
0 new messages