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

Creating custom MenuItemOption component removes icon #8309

Open
1 of 3 tasks
mhamid3d opened this issue Feb 22, 2024 · 3 comments
Open
1 of 3 tasks

Creating custom MenuItemOption component removes icon #8309

mhamid3d opened this issue Feb 22, 2024 · 3 comments

Comments

@mhamid3d
Copy link

Description

When I create a custom MenuItemOption component that extends the default chakra one, the check icon is missing, and adding a custom icon does not show either.

Link to Reproduction

https://codesandbox.io/p/sandbox/chakra-menuitemoption-lh87jj

Steps to reproduce

  1. Create a component that extends MenuItemOption
  2. Use it in a Menu and check if the icon is there

Chakra UI Version

2.8.1

Browser

Microsoft Edge

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

@pdroamrl
Copy link

pdroamrl commented Feb 23, 2024

Your codesandbox is unavailable for me. You can post a new codesandbox ?

@mhamid3d
Copy link
Author

@pdroamrl sorry, same link should be public now!

@pdroamrl
Copy link

Thanks!

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

No branches or pull requests

2 participants