HTML Input cursor position issue in Chrome when value is empty

前端 未结 8 1131
被撕碎了的回忆
被撕碎了的回忆 2020-12-13 13:28

Just recently I have noticed out text inputs having a display issue in Google Chrome but only when the text is empty.

Notice how in the top image, when the input is

8条回答
  •  死守一世寂寞
    2020-12-13 13:50

    i suggest don't use line-height at all, it may not be the proper answer but its working for me (latest chrome)

    Updated fiddle http://jsfiddle.net/efgq1svz/11/

提交回复
热议问题