Open amitbeck opened 5 years ago
That would be a nice feature to add. Interested in working on a PR? I can guide you through it.
I'd love to.
I need this feature. :(
I implemented it in this forks https://github.com/PerfectMemory/ngx-contextmenu available on NPM https://www.npmjs.com/package/@perfectmemory/ngx-contextmenu
While the principles are the same, note that the API in the fork has been slightly modified in version 8.0.0.
Currently, the context menu has no support for setting
dir
. For example, even whendir: rtl
CSS rule is applied, the submenu still has an arrow pointing to the right and is opened on the right, instead of opening (& the arrow pointing) to the left. This isn't too much of an issue, but it would be nice if the context menu could adjust according to the directionality.