I notice that if the width of my custom Polymer 1.x element is narrower than the width of the validation error message on a paper-input element, the error overflows beyond the right border of the custom element. See graphic below:
Is there a mechanism to prevent the overflow eg wrapping the text when it reaches the border of the custom element?
Thanks

You can clip the too long text by specifying a width
this way the width is adjusted dynamically but might break other things (no idea)
or make it break like
the rest of the elements markup
I also tried to add a custom add-on instead of the default
<error-element>, but failed (see also https://github.com/PolymerElements/paper-input/issues/262#issuecomment-160109256)