appflowy-editor
appflowy-editor copied to clipboard
[Bug] White background behind keyboard and toolbar
Bug Description
There is a white background behind the keyboard and toolbar. When the menu is open, and the keyboard is dismissed, it is possible to see it for a brief moment when closing the menu, and the keyboard is reappearing. It doesn't look good, especially when using an app that has a dark mode.
This issue is caused because the toolbar is wrapped in a Material widget that doesn't respect the app or editor theme. It will always have a white background color.
How to Reproduce
- Open editor and start typing
- Select a toolbar item so the menu gets opened and keyboard dismissed
- Close the menu by selecting the "x" button
Expected Behavior
Toolbar to always have the backgroundColor specified in theme.
Operating System
Flutter/iOS
AppFlowy Editor Version(s)
2.2.0
Screenshots
No response
Additional Context
No response
Hi, @armandsLa. Which toolbar version did you use? MobileToolbarV2?
Yes, the MobileToolbarV2
The MobileToolbarV2 has a backgroundColor property. Have you tried setting it according to the theme?