Skip to content
This repository has been archived by the owner on Apr 19, 2018. It is now read-only.

Commit

Permalink
Merge pull request #600 from SimonVT/dev
Browse files Browse the repository at this point in the history
Dismiss overflow popup when overflow button is detached.
  • Loading branch information
JakeWharton committed Sep 17, 2012
2 parents 8e27167 + 2d1af2c commit 0d1f529
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -621,6 +621,8 @@ protected void onDetachedFromWindow() {
for (View_OnAttachStateChangeListener listener : mListeners) {
listener.onViewDetachedFromWindow(this);
}

if (mOverflowPopup != null) mOverflowPopup.dismiss();
}

@Override
Expand Down

0 comments on commit 0d1f529

Please sign in to comment.