Multiple text input layouts being focused

Hi,

We are running into a problem where we have a listview with a datatemplate, where within the template we have 3+ SfTextInputLayout entry boxes. When we run the code, we tap on the first box, all is fine. When tapping on the next box, the focus colour is still visible and the hint text space is there without the hint text for the first box, and the second box is focused as normal. Tapping back on the first box, it unfocuses the first box completely as well as the second, but when you type nothing seems to happen, even though it is actually adding the text to the binded value as though the box has focus. From then on, each time you tap on any box besides the first, it also focuses the first box, but badly, and allows you to type into the box you originally tapped, even though you can't see the text.

The attachment has a png that shows an example where I went through the steps outlined above, then selected the 3rd box. As you can see, visually tings dont look right.

The datatemplate for this list is constructed in a .cs file and we use:
---    itemList.ItemTemplate = new DataTemplate().LoadFromXaml( ---
to create the template, we do this so that we can create custom template based on configuration at runtime.

Thanks
Rigardt

Attachment: Example_70489847.zip

3 Replies 1 reply marked as answer

SS Sridevi Sivakumar Syncfusion Team July 15, 2020 12:48 PM UTC

Hi Rigardt, 
  
Greetings from Syncfusion. 
  
We have checked the reported issue and we were able to reproduce the issue " SfTextInputLayout control did not unfocused properly while adding  the control inside the listview item template " and currently we are validating the root cause for the same. Hence, we will update the complete details on or before July 17, 2020.  
 
We appreciate your patience until then. 
 
Regards, 
Sridevi S. 
 



SS Sridevi Sivakumar Syncfusion Team July 20, 2020 10:46 AM UTC

Hi Rigardt,

Thanks for your patience.,
 

We were able to reproduce the issue
[Android] Focus set with multiple SfTextInputLayout while placing layouts inside the ListView ItemTemplate" and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.

Link: 
https://www.syncfusion.com/feedback/16112/android-focus-set-with-multiple-sftextinputlayout-while-placing-layouts-inside-the 

The provided feedback link is private, and you need to login to view this feedback.
 

This issue will be available in our next weekly Nuget release which is expected to be rolled in the July 21, 2020. 

If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.
 
Regards, 
Sridevi S. 



RS Ramya Soundar Rajan Syncfusion Team July 21, 2020 02:25 PM UTC

Hi Rigardt, 
 
We are glad to announce that our weekly NuGet was rolled out and fix for the reported issue was included in the weekly NuGet. 
 
NuGet Version: 18.2.0.46
 
We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.
 
 
Regards, 
Ramya S 


Marked as answer
Loader.
Up arrow icon