mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: limit scroll in componentDidUpdate
This commit is contained in:
parent
209934c90a
commit
2998573e79
2 changed files with 72 additions and 81 deletions
|
@ -60,3 +60,8 @@ export type ScrollBars = {
|
|||
height: number;
|
||||
} | null;
|
||||
};
|
||||
|
||||
export type ConstrainedScrollValues = Pick<
|
||||
AppState,
|
||||
"scrollX" | "scrollY" | "zoom"
|
||||
> | null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue