[TIMOB-26375] Windows: Blur is not working for TextField in ScrollView
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Not Our Bug |
| Resolution Date | 2018-09-13T03:52:03.000+0000 |
| Affected Version/s | Release 7.3.1 |
| Fix Version/s | n/a |
| Components | Windows |
| Labels | n/a |
| Reporter | Aminul Islam |
| Assignee | Kota Iguchi |
| Created | 2018-09-10T18:22:23.000+0000 |
| Updated | 2019-05-09T06:52:27.000+0000 |
Description
Attachments
| File | Date | Size |
|---|---|---|
| TestTextFieldBlurNew.rar | 2018-09-10T18:14:59.000+0000 | 719048 |
| tiinfo-6thSept.txt | 2018-09-10T18:18:00.000+0000 | 14727 |
Unfortunately this is a native behavior. I tried following XAML in native UWP app and I can see that clicking ScrollViewer (which Ti.UI.ScrollView is using internally) doesn't change focus state of its child TextBox. On the other hand, clicking Canvas (which Ti.UI.View is using internally) change focus state of its child TextBox. This behavior is exactly what we've been seeing in Titanium app. So this is native behavior and Titanium is just following it.
<Grid> <Canvas HorizontalAlignment="Left" Height="325" Margin="132,92,0,0" VerticalAlignment="Top" Width="938" Background="#FFDFF5CF"> <TextBox Height="56" Canvas.Left="285" Canvas.Top="121" Text="TextBox in Canvas" Width="372"/> </Canvas> <ScrollViewer HorizontalAlignment="Left" Height="314" Margin="121,529,0,0" VerticalAlignment="Top" Width="949" Background="#FFFDECE7"> <TextBox HorizontalAlignment="Stretch" Height="63" Text="TextBox in ScrollViewer" VerticalAlignment="Stretch" Width="331"/> </ScrollViewer> </Grid>