ngx-contextmenu icon indicating copy to clipboard operation
ngx-contextmenu copied to clipboard

RTL support

Open amitbeck opened this issue 5 years ago • 4 comments

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.

amitbeck avatar Jan 31 '19 19:01 amitbeck

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

isaacplmann avatar Jan 31 '19 20:01 isaacplmann

I'd love to.

amitbeck avatar Jan 31 '19 21:01 amitbeck

I need this feature. :(

myalsailamy avatar Jun 30 '19 10:06 myalsailamy

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.

sroucheray avatar Mar 09 '22 20:03 sroucheray