mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1369488 - Force update popups anchored to hidden deck box, r=tnikkel@gmail.com
MozReview-Commit-ID: Ixj5zdtyUOc --HG-- extra : rebase_source : 6c35e63ffd6b057b99dd826dff41d91694dd6b60
This commit is contained in:
parent
479795876a
commit
d48b32977e
@ -110,6 +110,13 @@ nsDeckFrame::IndexChanged()
|
||||
currentBox, GetSelectedBox());
|
||||
}
|
||||
#endif
|
||||
|
||||
// Force any popups that might be anchored on elements within hidden
|
||||
// box to update.
|
||||
nsXULPopupManager* pm = nsXULPopupManager::GetInstance();
|
||||
if (pm && currentBox) {
|
||||
pm->UpdatePopupPositions(currentBox->PresContext()->RefreshDriver());
|
||||
}
|
||||
}
|
||||
|
||||
int32_t
|
||||
|
Loading…
Reference in New Issue
Block a user