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

The background color is conflicting with the official navigation in Compose #5

Open
shaxzodshox opened this issue Jul 27, 2024 · 0 comments

Comments

@shaxzodshox
Copy link

shaxzodshox commented Jul 27, 2024

This library has an issue whenever you add a type-safe official navigation of the compose:
implementation("androidx.navigation:navigation-compose:2.8.0-beta06")

Once you add the navigation library of the compose, the background of the AnimatedNavigationBar becomes always white in API levels 26, 27. As below:

Screenshot 2024-07-27 at 16 58 07

When you remove that navigation library from your gradle it gets the color you specified..

After removing or downgrading the navigation version:

Screenshot 2024-07-27 at 16 58 07

It took me ~4 hours to determine why it is happening :)

@shaxzodshox shaxzodshox changed the title Library is conflicting with official compose navigation The background color is conflicting with the official navigation in Compose Jul 27, 2024
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