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

不同状态更新background的时候不生效 #57

Open
lengxing opened this issue Dec 8, 2021 · 0 comments
Open

不同状态更新background的时候不生效 #57

lengxing opened this issue Dec 8, 2021 · 0 comments

Comments

@lengxing
Copy link

lengxing commented Dec 8, 2021

发现在页面滚动时,如果navbar的背景需要随着滚动变更样式的时候,没有更新生效。

发现是style={background:${background};${navigationbarinnerStyle};}这一行的顺序应该将background放到navigationbarinnerStyle后面,navigationbarinnerStyle里面取的background是最初的,会覆盖更新后的。

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