question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

When using empty mask the cursor moves to the start of a textbox on focus

See original GitHub issue

Examples that cause the issue:

<input value="these" mask="">
<input value="cause" [mask]="">
<input value="the" [mask]="null">
<input value="issue" [mask]="myEmptyProperty">

Issue tested on 8.2.0.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:4
  • Comments:5

github_iconTop GitHub Comments

1reaction
tyanders1987commented, Feb 19, 2021

@NepipenkoIgor is there currently a resolution / workaround for this behavior?

0reactions
mhagnumdwcommented, Aug 7, 2022

Any news here?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Move cursor to beginning of MaskedTextBox on focus
When a user is tabbing through a form and focus gets set on a Kendo-Ui for Angular2 MaskedTextBox, the input cursor is at...
Read more >
RadMaskedTextBox moves caret on focus even if ... - Telerik
I need to be able to keep the caret in the same location on a masked textbox when a user leaves our webpage...
Read more >
TextBox Focus - MSDN - Microsoft
So when i try to enter text in that textbox a cursor blinks after the text ... for some ways to move the...
Read more >
How to Set cursor position while focus on the input textbox in ...
The selectionStart and selectionEnd set to 0 instead of the input element value's length, when we focus on a MaskedTextBox control filled with...
Read more >
Moving cursor to correct point with a mask - Gravity Forms
Hi there, I have created a form for a client and there is a custom mask on the phone input, I would like...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found