-
Notifications
You must be signed in to change notification settings - Fork 219
🙏 s2-react adaptive 为 true 时无须设置宽高 #1122
Copy link
Copy link
Labels
Description
🖋 Description
设置了 width 和 height 之后,s2-react adaptive 在数据更新时无法及时自适应(@antv/s2-react @1.9.0)。表现为,表格初始化时,是 adaptive 的,但是数据更新后,会优先使用 width 作为表格宽度,需要操作一下表格才会 adaptive。理论上,设置了 adaptive: true 就不再需要设置宽高了吧。
总结下:
🐛 adaptive: true 时,手动设置的宽高应该无效
🙏 adaptive: true 时,宽高非必选
🏞 What problem does this feature solve
🧐 Suggest the API
| name | type | default | description |
|---|---|---|---|
| - | - | - | - |
Reactions are currently unavailable
