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

setClosableOutside destroy the current activity #25

Closed
nowfalsalahudeen opened this issue Oct 6, 2015 · 3 comments
Closed

setClosableOutside destroy the current activity #25

nowfalsalahudeen opened this issue Oct 6, 2015 · 3 comments

Comments

@nowfalsalahudeen
Copy link

setClosableOutside close the current activity when touch the non button area and go back to the previous activity.. please take a look

@kamilwlf
Copy link

I have the same problem, how to solve it?

@kamilwlf
Copy link

try this:
@OverRide
public void onBackPressed() {
if (mMenuDialogFragment != null && mMenuDialogFragment.isAdded()) {
mMenuDialogFragment.dismiss();
} else{
finish();
}
}

@alexzaitsev
Copy link
Contributor

Fixed in new 1.0.5 version. Commit: ca09b47
You can find changelog in the readme: https://github.com/Yalantis/Context-Menu.Android/blob/master/README.md

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

3 participants