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

width and height are NaN #417

Open
BornInDream opened this issue Aug 21, 2024 · 2 comments
Open

width and height are NaN #417

BornInDream opened this issue Aug 21, 2024 · 2 comments

Comments

@BornInDream
Copy link

image
我添加了两张图片,每张图片可以绑定多个热区,当我在第一张图片上通过vue-draggable-resizable设置热区时,它无法超过父元素的区域,并且可以获取到width和height。但是当我操作第二张图片时,热区却可以超出父元素的区域,并且获取width和height都是NaN

@BornInDream
Copy link
Author

image
image
image

@BornInDream
Copy link
Author

BornInDream commented Aug 21, 2024

应该是和#408这个问题是一样的

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

1 participant