Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty string on List.Accordion.description exception #2811

Closed
neneji opened this issue Jul 11, 2021 · 2 comments · Fixed by #2831
Closed

Empty string on List.Accordion.description exception #2811

neneji opened this issue Jul 11, 2021 · 2 comments · Fixed by #2831

Comments

@neneji
Copy link

neneji commented Jul 11, 2021

Current behaviour

If i set the List.Accordion's description to an empty string "", in current implementation this will print an empty string inside a view and throws an exception.

Expected behaviour

the component should not print the description.

Code sample

<List.Accordion description="" />

Screenshots (if applicable)

What have you tried

Your Environment

software version
ios or android
react-native
react-native-paper 4.9.1
node
npm or yarn
expo sdk
@github-actions
Copy link

Hey! Thanks for opening the issue. The issue doesn't seem to contain a link to a repro (a snack.expo.io link or link to a GitHub repo under your username).

Can you provide a minimal repro which demonstrates the issue? A repro will help us debug the issue faster. Please try to keep the repro as small as possible and make sure that we can run it without additional setup.

@github-actions
Copy link

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

  • react-native
  • react-native-vector-icons
  • npm
  • yarn
  • expo

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

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

  • react-native-paper (found: 4.9.1, latest: 4.9.2)

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant