[BUG] MaskedBehavior mask is not applied right away when entry is right aligned #2515
Open
2 tasks done
Labels
area/behaviors
Issue/Discussion/PR that has to do with Behaviors
bug
Something isn't working
unverified
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
When using a MaskedBehavior on an entry while the entry's HorizontalTextAlignment is to the end (right aligned), the masking is not applied upon reaching the position of the mask.
For example:
Mask = "0000.00"
Entered text = "123"
Masked text = "123"
Expected Behavior
Since the HorizontalTextAlignment is set to the end (right), the expected behavior is that the input to the entry starts from the right. Therefore, when the mask position is hit, it should apply the mask.
Mask="0000.00"
Entered text = "123"
Expected masked text = "1.23"
Steps To Reproduce
Link to public reproduction project repository
https://github.com/lancecontreras/MaskedEntryExample
Environment
Anything else?
This will probably be the same issue on Windows or ios but I haven't tested those.
The text was updated successfully, but these errors were encountered: