Vanessa 2023-02-15 15:25:25 +08:00
parent 2cac581630
commit f2de7bf6e6
7 changed files with 24 additions and 14 deletions

View file

@ -625,9 +625,7 @@ export const addResize = (obj: Layout | Wnd) => {
const documentSelf = document;
const nextElement = resizeElement.nextElementSibling as HTMLElement;
const previousElement = resizeElement.previousElementSibling as HTMLElement;
nextElement.style.transition = "";
nextElement.style.overflow = "auto"; // 拖动时 layout__resize 会出现 https://github.com/siyuan-note/siyuan/issues/6221
previousElement.style.transition = "";
previousElement.style.overflow = "auto";
setSize(nextElement, direction);
setSize(previousElement, direction);