Skip to content

feat: add numberOfLines props to Snackbar #2596

Description

@whoami-shubham

Right now I couldn't find any props for trimming the snack bar text, I can trim the text before giving it to the snack bar however that wouldn't be very responsive. if the text is very long the snack bar looks like following
image

if I provide numberOfLines = 2 at here it looks like following
image

let me know is it a good idea to work on it.

  1. react-native : 0.63.3
  2. react-native-paper: 4.2.0
  3. react-native-vector-icons:6.6.0

Activity

  1. github-actions commented on Mar 9, 2021

    @github-actions

    Couldn't find version numbers for the following packages in the issue:

    • react-native
    • react-native-paper
    • react-native-vector-icons

    Can you update the issue to include version numbers for those packages? The version numbers must match the format 1.2.3.

  2. github-actions commented on Mar 9, 2021

    @github-actions

    The versions mentioned in the issue for the following packages differ from the latest versions on npm:

    • react-native (found: 0.63.3, latest: 0.63.4)
    • react-native-paper (found: 4.2.0, latest: 4.7.2)
    • react-native-vector-icons (found: 6.6.0, latest: 8.1.0)

    Can you verify that the issue still exists after upgrading to the latest versions of these packages?

  3. whoami-shubham commented on Mar 9, 2021

    @whoami-shubham
    Author

    yes

  4. locked and limited conversation to collaborators on Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions