Hi everyone!
We just released a new version of the Material 3 Theme. Here’s what has changed:
Updates
- The NavigationDrawerLayout now has methods to open and close the navigation drawer from code
- The modal navigation drawer now has a
max-width
so it will never take up the whole screen, making it difficult to close
Fixes
- Fixed an issue where clicking the Dropdown icon could cause the space bar to open and close the menu even when the Dropdown doesn’t have focus
- Fixed an AttributeError when autofilling TextBoxes and TextAreas
- The bottom app bar on mobile layouts no longer overlays the content on the page
- Fixed a styling issue with Notifications
- The ButtonMenu now works in the old M3 navigation drawer
- Fixed an issue with importing the TextArea and TextBox components
- Fixed the sliding animation on the NavigationDrawerLayout’s navigation drawer
- Fixed a styling issue with the borders of DataRowPanels when added to a DataGrid
- The RadioButton no longer squishes when there is a lot of label text
- Fixed an issue where the autocompleter considered properties to be methods
Special thanks to @gabriel.duro.s for being the first Anvil community member to contribute to the Material 3 repo!
To upgrade to this new version, go to your app’s Settings > Dependencies, and change the Material 3 Theme dependency version to v1.2.2. Any newly created Material 3 Theme apps will use this version.
Full changelog here: material-3-theme/CHANGELOG.md at master · anvil-works/material-3-theme · GitHub