Polymer 1.0 paper-input text highlighting

人盡茶涼 提交于 2019-12-11 19:24:29

问题


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



来源:https://stackoverflow.com/questions/30936418/polymer-1-0-paper-input-text-highlighting

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!