Cursor appears at the end on tap

Hi


I am using SfMaskedEdit in my project like this:

```

<TextInputLayout:SfTextInputLayout Style="{StaticResource TextLayoutInputStyle}" ext:InputLayout.HintWithSpace="{localization:Translate Label_SocialSecurityNumber2}"

                                               Margin="10,10,10,0"

                                               ErrorText="{Binding SsnError}" HasError="{Binding SsnError, Converter={StaticResource IsNotNull}}">

                <MaskedEdit:SfMaskedEdit

                                 Style="{StaticResource SfMaskedEditStyle}"

                                 Mask="000-00-0000"

                                 MaskType="Text"

                                 Keyboard="Numeric"

                                 Value="{Binding Ssn2}"

                                 PasswordChar="*" PasswordDelayDuration="2" EnablePasswordDelay="True"/>

            </TextInputLayout:SfTextInputLayout>

```

It works great but has one issue in iOS platform:  When you tap on the field, the text cursor appears at the end of the Mask, making the user either tap again to position that cursor to the start or hit the backspace character to do the same. If this is not done and the cursor is left at the end, then when you type any numbers, they do not show up in the field. Please look at the screenshot.

Platform: any iOS device

OS version: Checked on iOS 14.5

Syncfusion version: 18.4.0.43


regards 


1 Reply

ET Eswaran Thirugnanasambandam Syncfusion Team July 19, 2021 11:37 AM UTC

Hi Khasan,  
 
Thanks for contacting Syncfusion support.  
 
We checked the reported issue with the given code snippet, and we are unable to replicate the issue in the real device. The reported issue occurs only in the simulator but not in the real device, the cursor will be positioned at the start position when focusing.   
 
Based on the given code snippet we have prepared a sample and demo video to show that the cursor will be placed at the start position when focusing the control in the iOS platform. The sample and video demo links are provided below.  
 
 
 
Regards,  
Eswaran 


Loader.
Up arrow icon