isaacplmann / ngx-contextmenu

An Angular component to show a context menu on an arbitrary component
MIT License
247 stars 92 forks source link

RTL support #155

Open amitbeck opened 5 years ago

amitbeck commented 5 years ago

Currently, the context menu has no support for setting dir. For example, even when dir: 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.

isaacplmann commented 5 years ago

That would be a nice feature to add. Interested in working on a PR? I can guide you through it.

amitbeck commented 5 years ago

I'd love to.

myalsailamy commented 5 years ago

I need this feature. :(

sroucheray commented 2 years ago

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.