-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
autoResize设置不生效问题 #1056
Comments
👋 @fadeds Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
应该是是宽度能自适应,高度不行吧? |
是的,看你flex的方向,只能有一个是自适应的,不能两个方向都能自适应 |
Hiya! This issue has gone quiet. Spooky quiet. 👻 We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open! As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing! Thanks for being a part of the AntV community! 💪💯 |
Hey again! It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot 🤖, so if I’ve closed this issue in error, I’m As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing! Thanks again for being part of the AntV community! 💪💯 |
是的,我也发现了 |
似乎这个问题还没有解决 |
调试了下源码,发现“高度锁死”的问题逻辑:
临时解决方法: window.addEventListener('resize', () => {
container.style.height = '';
}); @NewByVector reopen 下这个问题,请考虑怎样解锁? |
这问题有解决方案了吗? |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
设置了autoResize,但是只有高度可以自适应,宽度不行
The text was updated successfully, but these errors were encountered: