图例翻页有时计算错误 #3873
zailushang5011 posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Steps to reproduce
legend,maxRow: 2,position: right,分页数有21页,翻页时图例从18页直接跳到了第一页,但是随着容器变化有时候17也就不会有这个问题,说不定总页数有多少的时候就会出现这个问题; <img width="168" alt="L1VzZXJzL3poYW95b25nY2hhby9MaWJyYXJ5L0FwcGxpY2F0aW9uIFN1cHBvcnQvRGluZ1RhbGtNYWMvNjczNDI4MDJfdjIvSW1hZ2VGaWxlcy8xNjQ5OTE2OTIxNzkxX0Y3NDEzNjk0LUNCMjEtNDA3RC1CNjNGLUE0M0ZFOUJFQzAxNi5wbmc=" src="https://user-images.githubusercontent.com/57588659/163327667-2b77b500-23e6-441a-af35-fd20ea1fcdfa.png"> <img width="163" alt="L1VzZXJzL3poYW95b25nY2hhby9MaWJyYXJ5L0FwcGxpY2F0aW9uIFN1cHBvcnQvRGluZ1RhbGtNYWMvNjczNDI4MDJfdjIvSW1hZ2VGaWxlcy8xNjQ5OTE2OTIyNjEwXzA1ODQxRkY3LTY2NDUtNDcxMy04M0MxLTMyMjAwOEE3QTMzNC5wbmc=" src="https://user-images.githubusercontent.com/57588659/163327685-708e6828-382d-4042-b464-3924e6e1df08.png">
Environment | Info |
---|---|
g2 | 4.1.46 |
System | - |
Browser | - |
<!-- generated by antv-issue-helper. DO NOT REMOVE -->