0
votes

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
Could you give an example of your code? I have played with the paper-input demo and I can highlight text inside it using the mouse. - Ben Thomas
i would love to but have been unsuccessful in importing the elements into plnkr or similar, it seems to be that there is an issue only when the input is nested in other elements - Andy Beeby
Here is a plunker set up you can use. Alternatively, just edit your question and paste some snippets in there. - Ben Thomas
Thanks for that, here is the plnkr demonstrating the issue plnkr.co/edit/0fwg9VSbtYpF1sXi4ura?p=preview - Andy Beeby

1 Answers

0
votes

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