vkbansal / react-contextmenu

Project is no longer maintained
MIT License
1.4k stars 375 forks source link

Possible reason for no background color display in Electron? #324

Closed yifax closed 4 years ago

yifax commented 4 years ago

Version

1.9.1

Test Case

I just tried the example demo code, using it in an electron project. Maybe this is the problem?

Steps to reproduce

2020-04-20 165800

Expected Behavior

Menu Style displays correctly.

Actual Behavior

No background, border, just text.

vkbansal commented 4 years ago

This library does not apply any styling except for display and positioning. You need to style it yourself.

https://github.com/vkbansal/react-contextmenu/blob/master/docs/usage.md#styling