MPTextView icon indicating copy to clipboard operation
MPTextView copied to clipboard

iOS 7 - Align the placeholder with the cursor / actual text

Open gerry3 opened this issue 11 years ago • 6 comments

Just like iOS 6, we should align the placeholder text several pixels to the left so that the cursor and the actual text that replaces it are aligned.

gerry3 avatar Jan 07 '14 19:01 gerry3

Can you provide a screenshot or screen recording of this behaviour? It's not clear what behaviour you're seeing.

cbowns avatar Jan 08 '14 18:01 cbowns

(In iOS 6.1, the placeholder text should be positioned to align with the text it replaces, to mimic UITextField's behaviour.)

cbowns avatar Jan 08 '14 18:01 cbowns

@cbowns ok, I see now that the placeholder does align in iOS 6. However, it does not align in iOS 7, so that's the issue I am reporting here.

gerry3 avatar Jan 08 '14 21:01 gerry3

mptextview-ios7-align

gerry3 avatar Jan 08 '14 21:01 gerry3

We are working on a pull request with a sample / example project and we can work on a pull request with a fix for this iOS 7 issue after that too.

gerry3 avatar Jan 08 '14 23:01 gerry3

Super. I'd be glad to help review things but don't quite have the spare cycles to page in all the memories from a few months ago and start digging into things again.

cbowns avatar Jan 09 '14 01:01 cbowns