Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

低版本浏览器兼容问题 #417

Open
HouXuelin112 opened this issue Sep 6, 2023 · 1 comment
Open

低版本浏览器兼容问题 #417

HouXuelin112 opened this issue Sep 6, 2023 · 1 comment

Comments

@HouXuelin112
Copy link

this.resizeObserver.observe(this.$el)

低版本浏览器没有ResizeObserver这个接口,可能this.resizeObserver为空导致报错

是不是可以考虑修改为
this.resizeObserver ? this.resizeObserver.observe(this.$el) : this.dispatchSizeChange()

@tsai996
Copy link

tsai996 commented Nov 9, 2023

把浏览器版本发出来

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants