FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Refactor application of text decoration, text transform, letter spacing and formatted text. · Issue #2427 · NativeScript/NativeScript · GitHub

Refactor application of text decoration, text transform, letter spacing and formatted text. #2427

Description

  • Remove try/catch around applyProperty in Style.ts method
  • Fix TextField as it will fail once the above try/catch is removed
  • Remove unnecessary calls to _updateTextDecoration & _updateTextTransform
  • utils.setTextTransform & utils.setTextDecoration should be typed (not any) and split on several methods accepting different types
  • Bug: Applying letter spacing to a TextField breaks the text-transform: uppercase and the text is no longer uppercase. When there is not letter spacing, the text is correctly rendered as uppercase.
  • Cannot write into a TextField/TextView when we have FormattedText or text decorations.
  • Update the TextField/TextView FormattedText Spans automatically when the user is typing or deleting characters.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL