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

Fix elevation not visible on bottomTabs #7519

Merged
merged 3 commits into from
May 3, 2022
Merged

Fix elevation not visible on bottomTabs #7519

merged 3 commits into from
May 3, 2022

Conversation

guyca
Copy link
Collaborator

@guyca guyca commented May 2, 2022

Apparently elevation doesn't work if the view it's applied on doesn't have a background color. Regression introduced in #6958

Fixes #7422

Apparently elevation doesn't work if the view it's applied on doesn't have a background color. Regression introduced in #6958

Fixes #7422
yogevbd
yogevbd previously approved these changes May 2, 2022
@guyca guyca merged commit 56ccaea into master May 3, 2022
@guyca guyca deleted the fixElevation branch May 3, 2022 03:56
guyca added a commit that referenced this pull request May 23, 2022
#7519 fixed missing elevation of bottomTabs by applying the background color on the bottomTabs container. While it fixed the elevation bug, it introduced a bug where the default background color of the bottomTabs overlapped the background color applied on the container.

This commit sets the default background color to transparent to fix the issue.
yogevbd pushed a commit that referenced this pull request May 23, 2022
#7519 fixed missing elevation of bottomTabs by applying the background color on the bottomTabs container. While it fixed the elevation bug, it introduced a bug where the default background color of the bottomTabs overlapped the background color applied on the container.

This commit sets the default background color to transparent to fix the issue.
@thuongtv-vn
Copy link

It looks not working well on Dark mode.

@guyca
Copy link
Collaborator Author

guyca commented May 25, 2022

@thuongtv-vn Can you please check if it looks as expected in version 7.28.0?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BottomTabs Elevation not working
3 participants