Closed cosmorunner closed 4 years ago
@cosmorunner It seems that you're right. I fixed the issue in the "unstable" branch. Can you please test and verify? If it's ok, the fix will be available with the next release.
I see the same issue. I can confirm that it is fixed. Thank you.
On the other hand, I see that customization with existing CSS classes is a bit hard. You should override CSS on the default classes. I don't want my elements to have cy-context-menus-cxt-menuitem
or cy-context-menus-cxt-menu
CSS classes.
I think when we specify custom class names, these default classes should not be used at all. Because the user can add these classes manually.
Hi there,
when I use the following option:
contextMenuClasses: [ 'border', 'm-0', 'border-primary' ]
The classes are applied as shown here:
<div class="border cy-context-menus-cxt-menu" m-0="" border-primary="" style="inset: auto 615px 432px auto;">...</div>
It seems that only the first class is applied. Or am I missing something?
Cheers!