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

ScrollView里Content的PosY值会不停变化 #10

Open
Shinichi54 opened this issue Feb 24, 2021 · 0 comments
Open

ScrollView里Content的PosY值会不停变化 #10

Shinichi54 opened this issue Feb 24, 2021 · 0 comments

Comments

@Shinichi54
Copy link

如果ScrollView里的cell很少不满一页的话,ScrollView里Content的PosY值会不停变化,导致界面抖动。

在你提供的Demo里面,做这样的改动就会出现这个问题,虽然抖动的幅度不大,但是仔细看还是能看出来,不知有没有什么好的解决办法?(ps:我只是把 i < 10,改成了 i<3)
for(int i=0; i < 3; i++)
{
UDSkill.Skill skill = new UDSkill.Skill();
skill.name = "skill_" + i;
skill.level = 1;
skill.desc = "这是个牛逼的技能";
playerSkill.skills.Add(skill);
}

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