Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26375] Windows: Blur is not working for TextField in ScrollView

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionNot Our Bug
Resolution Date2018-09-13T03:52:03.000+0000
Affected Version/sRelease 7.3.1
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterAminul Islam
AssigneeKota Iguchi
Created2018-09-10T18:22:23.000+0000
Updated2019-05-09T06:52:27.000+0000

Description

Attachments

FileDateSize
TestTextFieldBlurNew.rar2018-09-10T18:14:59.000+0000719048
tiinfo-6thSept.txt2018-09-10T18:18:00.000+000014727

Comments

  1. Kota Iguchi 2018-09-13

    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>
       

JSON Source