Fix visual jump when opening Comment editor on Safari

Part of #2008
This commit is contained in:
Nick O'Leary 2018-12-19 10:05:09 +00:00
parent 091de3aa66
commit 020a469f3b
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 2 additions and 1 deletions

View File

@ -140,11 +140,12 @@ RED.tray = (function() {
// tray.body.parent().width(Math.min($("#editor-stack").position().left-8,tray.width));
$("#main-container").scrollLeft(0);
el.css({
right: -(el.width()+10)+"px",
transition: "right 0.25s ease"
});
$("#workspace").scrollLeft(0);
handleWindowResize();
openingTray = true;
setTimeout(function() {