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

UI is position at wrong place after loading #76

Closed
kevinaskin opened this issue Nov 2, 2017 · 5 comments
Closed

UI is position at wrong place after loading #76

kevinaskin opened this issue Nov 2, 2017 · 5 comments
Assignees

Comments

@kevinaskin
Copy link

image

@nikogu
Copy link
Contributor

nikogu commented Nov 2, 2017

track: dvajs/dva#1300

@afc163
Copy link
Member

afc163 commented Nov 2, 2017

不是这个问题。这是线上的。

@nikogu
Copy link
Contributor

nikogu commented Nov 2, 2017

好的,我看看

@nikogu nikogu closed this as completed in 48bda57 Nov 2, 2017
@nikogu
Copy link
Contributor

nikogu commented Nov 2, 2017

原因是因为 card 有个 padding-transition,会判断宽度进行 padding 的设置,但是这个是有动画的,导致 G2 auto fix 算位置出错,所以只需要固定 padding 就可以了(因为我们的设计也是固定的)

@afc163
Copy link
Member

afc163 commented Nov 2, 2017

现在变得太快了,水平空间还足够。优先压缩饼图到一个过小的宽度后再换布局。

@afc163 afc163 reopened this Nov 2, 2017
@afc163 afc163 closed this as completed in e34c584 Nov 2, 2017
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

3 participants