You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today the top bar can only be customized somewhat. You can insert a custom widget into the top_bar field but it's limiting - even the padding isn't customizable. Top requests for improving usage of top bar:
Add support for top bar divider behavior on scroll, i.e. only showing the top bar shadow when the page is not in the default scroll position.
Allow the user to provide different/custom top bar dividers, other than the elevation shadow currently provided (e.g. if the user wants to use a hairline or gradual linear gradient fade to separate the top bar from the page instead of a shadow, or use Google's material approach where there entire top bar changes color when leaving the default scroll position)
The text was updated successfully, but these errors were encountered:
Today, you can customize further the scrolling animation specs as explained in ReadMe. This is the API docs.
only showing the top bar shadow
This is not there yet, but could be added. If you decide to be the contributor, I can guide you the action items.
Allow the user to provide different/custom top bar dividers, other than the elevation shadow currently provided (e.g. if the user wants to use a hairline or gradual linear gradient fade to separate the top bar from the page instead of a shadow, or use Google's material approach where there entire top bar changes color when leaving the default scroll position)
Thanks for the example! What I had in mind is slightly different - I want the top bar to be sticky (always visible), but for the color/shadow to change when the content has been scrolled. The end effect is that for modals with content that doesn't need to be scrolled, the top bar looks like a normal heading, and for modals that need scrolling we have a clear separation between header and content that only becomes visible when scrolling.
If this doesn't exist I'm happy to be guided on action items, and I'll contribute when I can find the time.
Today the top bar can only be customized somewhat. You can insert a custom widget into the
top_bar
field but it's limiting - even the padding isn't customizable. Top requests for improving usage of top bar:The text was updated successfully, but these errors were encountered: