Skip to content

Sometimes can't dismiss the menu #48

@calvingit

Description

@calvingit

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];

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions