Skip to content

Application is crashing when manually changing caret position #1

@abTec

Description

@abTec

Steps to reproduce:

  • set US phone format as pattern: (###) ###-####
  • apply behavior on textbox and run application.
  • type in 5555
  • behavior will change text to (555) 5
  • now press Home button (or change caret position with mouse click)
  • press any key (5 for example)
  • application will crash because behavior is trying to set negative number to SelectionStart property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions