I am using polymer 0.5.4 and I'm noticing that the user's core-menu
selection does not display in paper-dropdown in Safari. In other words,
the dropdown control appears fine and the pop-up/overlay showing the
appropriate dropdown options displays just fine when expanded, but if the
user selects one of the dropdown options, the selected value is not showing
in the paper-dropdown. Has anyone encountered this and know the solution
for this version of Polymer? I'm assuming it isn't something specific to
what I have done, as I see the issue may have already been eluded to in an
existing reported git issue (
https://github.com/Polymer/paper-dropdown-menu/issues/43), but just in case
here are the pertinent code excerpts of my code for your review:
<template if="{{controlType == 'dropdown'}}">
<div vertical layout>
<span id="dropdownLabel">{{controlLabel}}</span>
<div horizontal layout>
<paper-dropdown-menu id="{{controlId}}" label="">
<paper-dropdown class="dropdown" halign="right" layered>
<core-menu class="menu" selected="{{selectedValue}}"
valueattr="id" on-core-select="{{ valueSelected }}">
<template repeat="{{value, i in
controlDropdownOptions}}">
<paper-item id="{{value.id}}">
<template if="{{value.iconPath}}">
<core-icon
src="{{value.iconPath}}"></core-icon>
</template>
{{value.label}}
</paper-item>
</template>
</core-menu>
</paper-dropdown>
</paper-dropdown-menu>
</div>
</div>
</template>
valueSelected: function(e, detail, sender) {
/* Event designed to listen for dropdown box selection changes.
if (detail.isSelected) {
// Pass to the listener an object representing the property that was
changed by this element
this.fire('property-change', {newProperty:
this.propertyChanged(sender)});
}
}
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/polymer-dev/0f7ea697-c229-436f-ae9a-b9d4615fa263%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.