Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

In age-slider example, using space in name results in truncated name #628

Closed
tjsavage opened this issue Sep 2, 2014 · 2 comments
Closed

Comments

@tjsavage
Copy link
Contributor

tjsavage commented Sep 2, 2014

Regarding

http://www.polymer-project.org/docs/start/creatingelements.html#bindingtobuiltin

If I type "Mr Peepers" (without the quotes) in the Name field, the bound value of name is simply "Mr". However, if I replace the space with a dash and then replace that dash with a space again, the name property contains the full "Mr Peepers".

@ebidel
Copy link
Contributor

ebidel commented Sep 2, 2014

Really weird. This actually happens when typing any two letter prefix (e.g. "aa something"). It does not cause a layout like it should. The text is updated in the DOM if (look at the <b> in the inspector), but Chrome is not wrapping the text. If you toggle display: none on the element, it does a layout.

The sample is working as intended so I'm not sure what to do here. Looks like a Chrome bug. Can you file at crbug.com?

@tjsavage
Copy link
Contributor Author

tjsavage commented Oct 8, 2014

Seems to be fixed - works for me in M39 Chrome

@tjsavage tjsavage closed this as completed Oct 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants