Focus not same behavior as WPF

Please report bugs here. If you are unsure whether something is a bug or an expected behavior, please post it on the "Technical Support" forum instead, and wait for a moderator to handle/move the post.
User avatar
rthomas
Posts: 10
Joined: Mon Feb 18, 2019 7:03 am
Location: Lille, France

Focus not same behavior as WPF

Postby rthomas » Tue Apr 30, 2019 1:21 am

Hi,

With CSHTML5 v2 (Bridge version)

In WPF the user can press tab to go to next input field.
In HTML the label are getting the focus.
You can see focussed element in debug console document.activeElement

Sincerely,
Remi

Code: Select all

        <Grid Grid.Row="1" Width="250" Height="160" Background="Beige" HorizontalAlignment="Center">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="100"/>
                <ColumnDefinition Width="150"/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="40"/>
                <RowDefinition Height="40"/>
                <RowDefinition Height="40"/>
                <RowDefinition Height="40"/>
            </Grid.RowDefinitions>
            <Label Grid.Column="0" Grid.Row="0" HorizontalAlignment="Right" VerticalAlignment="Center">Identifiant:</Label>
            <TextBox Grid.Column="1" Grid.Row="0" HorizontalAlignment="Center" x:Name="txtLogin" Width="120" Margin="5" Padding="5" />
            <Label Grid.Column="0" Grid.Row="1" HorizontalAlignment="Right" VerticalAlignment="Center">Mot de passe:</Label>
            <PasswordBox Grid.Column="1" Grid.Row="1" HorizontalAlignment="Center" x:Name="txtPassword" Width="120" Margin="5" Padding="5"/>
            <Label Grid.Column="0" Grid.Row="2" HorizontalAlignment="Right" VerticalAlignment="Center">Serveur:</Label>
            <TextBox Grid.Column="1" Grid.Row="2" HorizontalAlignment="Center" x:Name="txtServer" Width="120" Margin="5" Padding="5"/>
            <Button Grid.Column="0" Grid.Row="3" Grid.ColumnSpan="2" Margin="5">S'identifier</Button>
        </Grid>

JS-Support @Userware
Site Admin
Posts: 1142
Joined: Tue Apr 08, 2014 3:42 pm

Re: Focus not same behavior as WPF

Postby JS-Support @Userware » Tue Apr 30, 2019 1:25 am

Hi,
Thanks for reporting this issue.
We are going to look into it asap, and keep you updated.
Regards,
JS-Support


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 7 guests

 

 

cron