-->

Polymer 1.0 paper-input text highlighting

2019-09-18 17:15发布

问题:

I have just been testing some polymer 1.0 elements. I noticed that using the paper-input element it is not possible to drag highlight text entered into it.

It is possible to use keyboard shortcuts to highlight text and it is also possible to double click.

I have checked the documentation and i cannot see if this is intended functionality, can anyone shed any light?

回答1:

This seems to be fixed in the recent update to iron-input or paper-input. It works fine in the demo now. https://elements.polymer-project.org/elements/paper-input?view=demo:demo/index.html