Firefox won't show scrollbars for 2 row textarea

前端 未结 3 511
故里飘歌
故里飘歌 2021-01-24 13:18

Firefox will not show a scrollbar in a 2 line textarea if I set the height so that only two rows are actually displayed. I have to make it big enough to show part of the line be

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-24 13:42

    In firefox, even you set height for textarea manually, the textarea can still be changing height by click and drag the corner. Actually there is a symbol around the corner indicates such changing height ability. So you don't have to worry about it. Maybe set a bigger height for it is better.

提交回复
热议问题