mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
fix(core): use ResizeObserver polyfill (#6360)
- Close https://github.com/toeverything/AFFiNE/issues/6359
This commit is contained in:
@@ -3,5 +3,8 @@ import './register-blocksuite-components';
|
||||
import './edgeless-template';
|
||||
|
||||
import { setupGlobal } from '@affine/env/global';
|
||||
import { ResizeObserver } from '@juggle/resize-observer';
|
||||
|
||||
setupGlobal();
|
||||
|
||||
window.ResizeObserver = ResizeObserver;
|
||||
|
||||
Reference in New Issue
Block a user