UITextView spell checking is huge and overlaps next line's text when dealing with small font sizes

Originator:michaelhochs
Number:rdar://30574627 Date Originated:17-Feb-2017 09:48 AM
Status:Open Resolved:
Product:iOS Product Version:iOS 10.2
Classification:UI/Usability Reproducible:Always
 
Summary:
When dealing with very small font sizes (in this case 6pt), the red spell-checking dots in a text view are huge compared to the font size. They get so big that they even overlap with the text in the next line. The dots should shrink together with the text if the font size reaches a certain minimum.

Steps to Reproduce:
- Open the example
- Type something that is miss spelled

Expected Results:
- The red line’s appearance matches the size of the font, like a regular text underline would.

Actual Results:
- The red dots are huge, they even overlap with text in the next line

Regression:


Notes:

Comments

Sample Code

https://github.com/PSPDFKit-labs/radar.apple.com/tree/master/30574627%20-%20TextViewInScrollView

By michaelhochs at Feb. 17, 2017, 9:02 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!