setContentSize/setTextAreaSize does not work on any platform
setTextHorizontalAlignment/setTextVerticalAlignment does not work on any platform if call setAnchorPoint(0, 0), else works on iOS but does not work on mobile/pc browsers
long text(overflow) could not hide
prompt input does not work on pc browser(Chrome)
only if touches on the placeholder or text could attach IME
IME does not hide when touches the area does not in the input box
ENV:
Problems:
setContentSize/setTextAreaSize
does not work on any platformsetTextHorizontalAlignment/setTextVerticalAlignment
does not work on any platform if callsetAnchorPoint(0, 0)
, else works on iOS but does not work on mobile/pc browsersThe example code:
The results:
The text at center on mobile browser
The text at left on mobile browser
The text at center on iOS
The placeholder at center on iOS
The input text still show when overflow