Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes can't dismiss the menu #48

Open
calvingit opened this issue Apr 30, 2020 · 0 comments
Open

Sometimes can't dismiss the menu #48

calvingit opened this issue Apr 30, 2020 · 0 comments

Comments

@calvingit
Copy link

I meet a situation:
The menu show on the top of viewController, i can't touch the cell or the blank space to dismiss. But I can scroll the view below the menu.

The FTPopOverMenuConfiguration is like below:

    FTPopOverMenuConfiguration *configuration = [FTPopOverMenuConfiguration defaultConfiguration];
    configuration.menuRowHeight = 50;
    configuration.menuWidth = 200;
    configuration.borderWidth = 0;
    configuration.textFont = [UIFont systemFontOfSize:16];
    configuration.textColor = UIColor.blackColor;
    configuration.backgroundColor = [UIColor whiteColor];
    configuration.shadowColor = [UIColor clearColor];
    configuration.shadowRadius = 0;
    configuration.shadowOpacity = 0;
    configuration.shadowOffsetX = 0;
    configuration.shadowOffsetY = 0;
    configuration.ignoreImageOriginalColor = YES;

And the calling function is :

    [FTPopOverMenu showForSender:titleButton
                   withMenuArray:titles
                      imageArray:nil
                   configuration:configuration
                       doneBlock:^(NSInteger selectedIndex) {
                           /// do something
                       }
                    dismissBlock:nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant