Make sure size of reconciliation preview pop-up is set before positioning it. fixes #3028 (#3706)

Co-authored-by: Douglas Mennella <douglas.mennella@gmail.com>
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
This commit is contained in:
gitonthescene 2021-03-11 00:14:12 +09:00 committed by GitHub
parent 91c3cc734d
commit efca0bee2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -495,8 +495,8 @@ DataTableCellUI.prototype._previewCandidateTopic = function(candidate, elmt, pre
return; // no preview service available
}
MenuSystem.positionMenuLeftRight(fakeMenu, $(elmt));
fakeMenu.appendTo(elmt);
MenuSystem.positionMenuLeftRight(fakeMenu, $(elmt));
var dismissMenu = function() {
fakeMenu.remove();