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: set AppBar scrolledUnderElevation to 0 #295

Merged

Conversation

Zied-Dahmani
Copy link
Collaborator

Scope

Ticket

I fixed the issue by setting scrolledUnderElevation to 0, which prevents the AppBar color from changing when scrolling on the transaction details page.

Screenshots

Before After
before after

@Zied-Dahmani Zied-Dahmani requested a review from n13 August 27, 2024 16:38
@Zied-Dahmani Zied-Dahmani self-assigned this Aug 27, 2024
@Zied-Dahmani Zied-Dahmani linked an issue Aug 27, 2024 that may be closed by this pull request
Copy link
Collaborator

@n13 n13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

I am not 100% sure if app bar isn't supposed to change color but no strong opinion on it.

@Zied-Dahmani Zied-Dahmani merged commit 422aa8f into main Aug 31, 2024
0 of 3 checks passed
@Zied-Dahmani Zied-Dahmani deleted the bugfix/transaction_details_view_app_bar_elevation branch August 31, 2024 00:10
@Zied-Dahmani
Copy link
Collaborator Author

Approved.

I am not 100% sure if app bar isn't supposed to change color but no strong opinion on it.

The color change behavior of the AppBar in Flutter's Material 3 (M3) design system is not necessarily a bug but rather a design choice aligned with Material Design guidelines. However, this behavior can become an "issue" if it conflicts with the developer's or designer's vision for the app. This is especially noticeable in light mode, where the color change may not always lead to a visually appealing appearance.

@n13
Copy link
Collaborator

n13 commented Sep 1, 2024 via email

@Zied-Dahmani Zied-Dahmani added Enhancement New feature or request and removed Enhancement New feature or request labels Sep 2, 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

Successfully merging this pull request may close these issues.

Fix Transaction Details View AppBar Elevation
2 participants