Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] iOS 14 App freezes when password is entered after email (not completely fixed) #12868

Closed
NeilN1 opened this issue Nov 16, 2020 · 6 comments
Assignees
Labels
i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often iOS 14 s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/unverified New report that has yet to be verified t/bug 🐛

Comments

@NeilN1
Copy link

NeilN1 commented Nov 16, 2020

Description

#12246 not completely fixed

Steps to Reproduce

  1. Enter username
  2. Enter one or more characters in password field
  3. Tap anywhere else on screen

Expected Behavior

Focus changes to tapped control

Actual Behavior

No focus change, buttons can't be tapped

Basic Information

  • Version with issue: 4.8.0.1687
  • Last known good version: N/A
  • IDE: VS Mac 8.8 build 2913
  • Platform Target Frameworks:
    • iOS: 14.1
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:
    <ContentPage.Resources>
    <ResourceDictionary>
      <converter:BoolToButtonImageConverter x:Key="BoolImageConverter"/>
     
            <Style x:Key="EntryStyle" TargetType="Entry">
                <Setter Property="PlaceholderColor" Value="LightGray"/>
                <Setter Property="TextColor" Value="White"/>
                <Setter Property="Margin" Value="20,4"/>
                <Setter Property="WidthRequest" Value="240"/>
                <Setter Property="HorizontalOptions" Value="CenterAndExpand"/>
            </Style>
           
  
     </ResourceDictionary>
  </ContentPage.Resources>

                    <Grid x:Name="Grid_Main">
                    <Grid.RowDefinitions>
                        <RowDefinition Height="70"/>
                        <RowDefinition Height="70"/>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="4*"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                        <Entry
                            Grid.Row="0"
                            Grid.Column="0"
                            x:Name="UserNameEntry"
                            Style="{StaticResource EntryStyle}"
                            Text="{Binding Path=User.UserName}"
                            Placeholder="Username"
                            HorizontalOptions="End"/>
                        <Entry
                            Grid.Row="1"
                            Grid.Column="0"
                            x:Name="PasswordEntry"
                            Placeholder="Password"
                            Style="{StaticResource EntryStyle}"
                            Text="{Binding Path=User.Password}"
                            IsPassword="True"/>
                        <control:RoundButtonControl
                           x:Name="ShowButton"
                            Grid.Row="1"
                            Grid.Column="1"
                            Command="{Binding ShowPasswordCommand}"
                            FontFamily="FontAwesomeSolid"
                            Text="&#xf06e;"
                            HorizontalOptions="Start"/>
                        <control:RoundButtonControl
                           x:Name="HideButton"
                            Grid.Row="1"
                            Grid.Column="1"
                            Command="{Binding HidePasswordCommand}"
                            FontFamily="FontAwesomeSolid"
                            Text="&#xf070;"
                            IsVisible="false"
                            HorizontalOptions="Start"/>
                   </Grid>

Note that if password is entered before userid then taps to change focus work, even if password entry is completely deleted, userid entered, and password re-entered.

@NeilN1 NeilN1 added s/unverified New report that has yet to be verified t/bug 🐛 labels Nov 16, 2020
@jsuarezruiz jsuarezruiz changed the title [Bug] [Bug] iOS 14 App freezes when password is entered after email (not completely fixed) Nov 16, 2020
@jsuarezruiz jsuarezruiz added iOS 14 i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often labels Nov 16, 2020
@jsuarezruiz
Copy link
Contributor

I have created a sample:

Issue12868.zip

@hartez I cannot reproduce the issue. I think you were the one who fixed #12246, could you test the attached sample?

issue12868

@jsuarezruiz jsuarezruiz added the s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. label Nov 17, 2020
@NeilN1
Copy link
Author

NeilN1 commented Nov 17, 2020

Hi @jsuarezruiz Your sample does not include Material which seems to play a part in this issue.

@hartez hartez self-assigned this Nov 19, 2020
@Redth Redth removed the s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. label Nov 30, 2020
@PureWeen
Copy link
Contributor

@NeilN1 can you try with this repro that uses material and 5.0 pre5?

I'm not getting any crashes
Issue12868 2.zip

@PureWeen PureWeen added the s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. label Dec 10, 2020
@Redth
Copy link
Member

Redth commented Jan 21, 2021

Since we haven't heard from you in more than 30 days, we hope this issue is no longer affecting you. If it is, please reopen this issue and provide the requested information so that we can look into it further. Thank you!

@Redth Redth closed this as completed Jan 21, 2021
@JPZV
Copy link

JPZV commented Nov 18, 2021

@Redth I have exactly the same issue, and no workaround seems to work.

I tried @PureWeen 's sample and it works, so, after researching, I found out that this issue is being triggered with iOS password generator, so, in order to replicate it, you have to implement a "working" Sign Up page either using Associated Domains plus Keychain, or using an authentication provider (Like Firebase)

Please, try this sample (Remember to fill Entitlements.plist with a valid domain and set up that page with a valid JSON)
: Issue12868.zip

Please, be aware: iOS MUST prompt you to use a strong generated password, you HAVE to select "Use own password", otherwise the app will not freeze at all. If iOS doesn't prompt you anything (i.e. you didn't set an associated domain), the app will also not freeze.

I tested this sample using the latest Visual Studio for Mac, and with an iPhone 8 (iOS 15.0.1)

@JPZV
Copy link

JPZV commented Nov 18, 2021

Update: Here is demo in case you're not able to reproduce the bug (the red box is censuring my email)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
i/high Completely doesn't work, crashes, or is unusably slow, has no obvious workaround; occurs less often iOS 14 s/needs-info ❓ A question has been asked that requires an answer before work can continue on this issue. s/unverified New report that has yet to be verified t/bug 🐛
Projects
None yet
Development

No branches or pull requests

6 participants