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

feat(bidi): Implement RTL support

Open amitbeck opened this issue 6 years ago • 2 comments

image

Closes #155.

When direction is RTL:

  • sub menus are opened to the left by default,
  • menu items containing sub menus are indicated with an arrow pointing to the left.
  • text is aligned to the right.
  • left arrow key opens sub menu,
  • right arrow key closes the sub menu.

NOTE: Please notice that in order to actually enable RTL, either document.body (<body>) or document.documentElement (<html>) needs to have the dir attribute set to "rtl", otherwise it won't work.

amitbeck avatar Sep 04 '19 22:09 amitbeck

Could this PR be merged please? @isaacplmann

amitbeck avatar Feb 13 '20 20:02 amitbeck

@isaacplmann It's been a whole year since I've published this PR. Why not merge it?

amitbeck avatar Sep 09 '20 14:09 amitbeck