TextBox / TextInput in Viewport

Hi Fuser Crew,

Similar to this bug but with TextBox/TextInput cursor: https://www.fusetools.com/community/forums/bug_reports/nativeviewhost_within_viewport?page=1&highlight=aaa58ecb-90bf-4c12-a23e-ea6b422f6d2c#post-aaa58ecb-90bf-4c12-a23e-ea6b422f6d2c

TextBox/TextInput cursor not positioning properly when contained inside Viewport for Builds. Local Preview works perfectly fine. But when build the TextBoxs cursor displays incorrectly … it is offset.

Screenshots =

Local Preview:

Build:

Code =

<App>
    <Grid Columns="1*,1*">
        <Viewport Perspective="1000">
            <Panel HitTestMode="LocalBoundsAndChildren" Height="40" Background="#F0F0F0">
                <NativeViewHost>
                    <Text Value="Text One" FontSize="13" Alignment="Center"/>
                </NativeViewHost>
            </Panel>
        </Viewport>

        <Viewport Perspective="750">
            <Panel Width="90%" Alignment="Left">
                <StackPanel Alignment="VerticalCenter">
                    <Each Count="3">
                        <TextBox Padding="28,8,10,8" FontSize="13" ClipToBounds="true"/>
                    </Each>
                </StackPanel>
            </Panel>
        </Viewport>
    </Grid>
</App>

Fuse Version = v.0.25.1 OS = Windows 10 Bug Occurs = For Export on Android

Thank you.

Cheers,

Elizabeth

Hi,

As text inputs are always native on mobile (implicit NativeViewHost), this is to be expected, unfortunately.

There is no possible way to display a working text input in 3D on Android. This is a limitation in the OS, nothing we can fix - sorry!