2

I have a textarea in which will not break line on mobile, only on desktop using 


 <textarea class="fontRoundedLight" rows="15" cols="20" maximum-scale=1 placeholder="one line &#13;&#10; more text &#13;&#10; and more &#13;&#10; and more."></textarea>

On iPhone Safari i will see one line that breaks only when there is no space, and not when I ask it to .

Esko
  • 4,109
  • 2
  • 22
  • 37
hkrly
  • 311
  • 3
  • 12
  • Possible duplicate of [Insert line break inside placeholder attribute of a textarea?](https://stackoverflow.com/questions/7312623/insert-line-break-inside-placeholder-attribute-of-a-textarea) – TheMisir Aug 06 '19 at 06:05
  • Thanks a lot. Not sure where is the answer both in the duplicate link or the comment here. As I said i did exactly what they offer in the answer and it doesn't work on Safari mobile. – hkrly Aug 06 '19 at 06:15
  • check out this answer: https://stackoverflow.com/a/13231023/7616528 – TheMisir Aug 06 '19 at 06:20

0 Answers0