-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Description
When you select a misspelled word in a CupertinoTextField, the styling is the same as other text selection (uses the little bars with the circle, and a color supplied by the theme).
However, on a UIKit/SwiftUI app, if you select a misspelled word, no bars are used and the highlight color is red.
When speaking with developers, text input is something that has been raised as important to "feel native." So, setting the default styling to match native iOS would be great. But, there might be cases where someone wants to customize this styling. Ideally we expose APIs in this widget to control the styling of the selection, and have the default values match those on iOS (maybe this already exists, but I couldn't tell how to do it from a quick glance).
However, given that it's difficult to adapt between CupertinoTextField and TextField, we might consider leveraging TextField for all platforms, but ensure we can add capabilities to match platform-specific styling and behaviors.

