Snackbar should allow placing the action button on its own line.
See original GitHub issueFrom the specification
If an action is long, it can be displayed on a third line.
To do this we should do the following (this assumes #1422 has already been completed):
[ ] - Add a new enum dependency property to the Snackbar control. The enum should have the values Inline
, SeparateLine
, and Auto
. The default of the property should be Auto
.
[ ] - When the property is set to Inline
the action button should display to the right of the message (as it works now).
[ ] - When the property is set to SeparateLine
the action button should be moved below the message and right aligned.
[ ] - When the property is set to Auto
we should put in a trigger that only moves the action button onto its own line when there are two or more lines of text. We can detect this case by simply watching the height of the Content.
[ ] - Ensure that an example of each is present in the demo application.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (4 by maintainers)
Actually working on #1422.
Can take a look at this when finished.
Yes! I was waiting for you to review #1432, since resolving #1422 before, is needed for this
But I didn’t started, so if @christyjacob4 wants, can take it. I’ll take another one then, no problems.