QuantumPhysique / trale

trale – a simple body weight diary app respecting your privacy
GNU Affero General Public License v3.0
86 stars 10 forks source link

Scrolling in certain tabs changes color at the top of screen #163

Open Zumux opened 3 weeks ago

Zumux commented 3 weeks ago

Describe the bug When scrolling up and down in the Home and Measurements tabs the color at the top of the screen change. This apears to happen in both light and dark mode. See video for bug.

To Reproduce Steps to reproduce the behavior:

  1. Go to Home
  2. Try scrolling up and down

Expected behavior Colors stay the same and it doesn't scroll

User Information (please complete the following information):

https://github.com/user-attachments/assets/6f25acf0-5768-43c1-977b-1dd6fcefe63e

gwosd commented 1 week ago

Thank you for using trale and reporting this behaviour :)

@braniii Can you reproduce this behaviour on your phone? I cannot.

fincentxyz commented 1 week ago

I am able to reproduce this on the home tab when:

I am able to reproduce this on the achievements tab when:

I am able to reproduce this on the measurements tab when:

With at the top of the screen I mean the verticle space right of the hamburger menu.

User Information

braniii commented 1 week ago

Thank you for using trale and reporting this behaviour :)

@braniii Can you reproduce this behaviour on your phone? I cannot.

@gwosd I can reproduce it only in the first and last tab. I guess the question is, if this is a bug or the desired Material you design pattern? Once you can scroll (which is allowed to prevent overflow issues on different screen ratios) it should color the header. But I guess, that once you scroll all the way up, it should revert to the initial color :thinking:

fincentxyz commented 1 week ago

I also think this might not actually be a bug, but a part of the material design components' behaviour.