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

Menu item text sometimes malformed #2828

Closed
alexpricedev opened this issue May 24, 2018 · 3 comments
Closed

Menu item text sometimes malformed #2828

alexpricedev opened this issue May 24, 2018 · 3 comments

Comments

@alexpricedev
Copy link

Bug Report

Steps

Create a menu with a menu item containing "ABCa" as the name prop

Expected Result

The menu item to be rendered with the text "ABCa"

Actual Result

The menu item was rendered with the text "AB Ca"

Version

0.80.0

Testcase

https://codesandbox.io/s/nnzyr1x1m

@welcome
Copy link

welcome bot commented May 24, 2018

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@msrikanth508
Copy link
Contributor

@alexpriceonline Thank you for reporting a bug.

@levithomason I've verified codebase, we are converting given Name prop to startCase. Menu.Item component is accepting custom messages using Content prop, in this case, we should not do any alteration for Name prop. If user wants to render something different, he/she can always do with Content prop.

Please let me know your thoughts.

@layershifter
Copy link
Member

Duplicate, see 1340#comment.

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

No branches or pull requests

3 participants