Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix flickering toolbar #1311

Merged

Conversation

cemrich
Copy link
Contributor

@cemrich cemrich commented Oct 31, 2023

This is just a proof of concept - but I think this fixes the flickering. I tested on API level 26 and 34.

The implementation of the Toolbar is as documented in the Material Design Components docs.

The account button is now a menu item and looks and behaves exactly as all other menu icons without further configuration. It is visible between the search icon and the overflow menu icon (if room).

Fixes #1291

Signed-off-by: Christine Coenen <code.coenen@gmail.com>
Signed-off-by: Christine Coenen <code.coenen@gmail.com>
Signed-off-by: Christine Coenen <code.coenen@gmail.com>
@cemrich
Copy link
Contributor Author

cemrich commented Nov 1, 2023

This implementation now seems to work great. I tested it on api level 34 and 26 each with SSO and manual login and both light and dark themes.

I think, the account button has a position a bit too prominent in the toolbar. But for now, it does work as before.

@cemrich cemrich marked this pull request as ready for review November 1, 2023 13:08
@David-Development
Copy link
Member

@cemrich Thank you a lot for looking into this. I tested it against the Light, Dark and Dark with OLED Theme and it works great in all cases!

@David-Development David-Development merged commit c230bad into nextcloud:master Nov 1, 2023
@artfulrobot
Copy link

Thanks @cemrich your work is appreciated!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Toolbar flickers when scrolling in list
3 participants