Skip to content

Cookie pop up not scrollable #90

@gigimatto88

Description

@gigimatto88

Bug Information

On Android, after FB login button clicked, it opens FB pop up for cookies permission which is not scrollable: no way to scroll down and grant permission and no way to go ahead.

Version Number of Plugin: 2.2.1
Device Tested On: XIOMI REDMI 3S
Version of VS: 16.5.4
Version of Xamarin: 4.8.0

Steps to reproduce the Behavior

EU citizens.
All Android configurations setted.
First login attempt to FB on the phone: no previous FB cookies permission accepted.
Clicking on FB login button will appear a FB pop up for cookies permission.

Expected Behavior

Cookies permission pop up shall be scrollable in way to grant permission.

Actual Behavior

Cookies permission pop up is not scrollable.

Code snippet

Code behind:

    IFacebookClient _facebookService = CrossFacebookClient.Current;

    private async void OnLoginWithFacebook(object sender, EventArgs e)
    {
        await LoginFacebookAsync();
    }

    async Task LoginFacebookAsync()
    {
        try
        {

            if (_facebookService.IsLoggedIn)
            {
                _facebookService.Logout();
            }

            string[] fbRequestFields = { "email", "first_name", "last_name" };
            string[] fbPermisions = { "email" };
            await _facebookService.RequestUserDataAsync(fbRequestFields, fbPermisions);
        }
        catch (Exception ex)
        {
            Debug.WriteLine(ex.ToString());
        }

XAML:

<ContentPage.Content>
    <ScrollView>
        <StackLayout Padding="20"
                         VerticalOptions="CenterAndExpand">

            <ImageButton Source="Facebook_login"
                        Clicked="OnLoginWithFacebook"
                        HeightRequest="50"
                        HorizontalOptions="CenterAndExpand"
                        VerticalOptions="FillAndExpand"/>

            </StackLayout>
    </ScrollView>
</ContentPage.Content>

Screenshotst

IMG_6102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions