Vitalii Petrychuk
Vitalii Petrychuk

Reputation: 14225

Webkit translateY + textarea bug

Webkit only. Lets imagine that we have a container with translateY css property. This container contains textarea alement. In this situalition textarea behavior is incorrect. When you try to enter more lines than textarea rows atribute has the autoscroll will not work until text height inside textarea will not be bigger than textarea height + translateY * -1.

Please checkout example here.

Any ideas how to fix this bug?

Upvotes: 0

Views: 262

Answers (1)

Thanh Trung
Thanh Trung

Reputation: 3804

Is webkit bug, got to report Google so they can fix it. Try this see if it works for you: http://jsfiddle.net/mT7Lp/1/

Instead of using translate, use position relative and set top to -pixel

Upvotes: 1

Related Questions