1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

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

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() {