79685842

Date: 2025-07-01 09:46:00
Score: 2
Natty:
Report link

Sadly it is not possible to change the default behaviour of the SnackbarHost. Therefore it will always stretch the full width of the screen.

Thus if you want it to just wrap the content you would have to make a custom snackbar like you mentioned.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Edwin Martens