mirror of
https://github.com/plankanban/planka.git
synced 2025-12-22 09:15:37 +03:00
Add project backgrounds
This commit is contained in:
@@ -110,6 +110,14 @@ const Board = React.memo(
|
||||
prevPosition.current = null;
|
||||
}, [prevPosition]);
|
||||
|
||||
useEffect(() => {
|
||||
document.body.style.overflowX = 'auto';
|
||||
|
||||
return () => {
|
||||
document.body.style.overflowX = null;
|
||||
};
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
if (isAddListOpened) {
|
||||
window.scroll(document.body.scrollWidth, 0);
|
||||
|
||||
Reference in New Issue
Block a user