Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Implement Snackbar Component #28

@traviskaufman

Description

@traviskaufman

Spec Reference: https://www.google.com/design/spec/components/snackbars-toasts.html

It's been called a "Toast" in the past, but the thing that's not Android-specific is a snackbar.

  • Initial Implementation
  • Dark Theme (background: #fafafa, text: text-primary-on-dark, action: theme primary color)
  • Keyboard Focus Handling
  • In demo, ensure that "Action on Bottom" is unchecked and disabled when "multiline" is unchecked
  • End-to-end usage example in README (instantiation, using it in response to an event)
  • Start-aligned snackbars (left for LTR, right for RTL)
  • Add dismissOnAction option, which defaults to true. When true, snackbar dismisses as soon as a user interacts with its action button (see Implement Snackbar Component #28).
  • Address Action label misaligned in RTL Snackbar #564

Copied from google/material-design-lite#4490

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions