You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems to happen only when a TextView is initialized using the convenience no-parameter init(). Seemingly something about overriding how the layout manager is constructed breaks this. I can bypass the issue by constructing it as TextView(textContainer: nil).
When using a TextView, if a user types emoji, the text after the emoji is in a different font. This works fine when using a normal UITextView.
To reproduce the issue, create a single application project with Material, and use this as the ViewController:
As demonstrated in this screenshot, the UITextView (the first box) handles emoji correctly, while the Material TextView (the second box) does not.
Slack seems to have the same issue: slackhq/SlackTextViewController#536
I am using XCode 8.3.3, targeting iOS 9 and up (running iOS 10 in screenshot).
The text was updated successfully, but these errors were encountered: