Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Menu in RTL isnt in place

Open faziloub opened this issue 8 years ago • 13 comments

Description:

Server Setup Information:

  • Version of Rocket.Chat Server: 63
  • Operating System: ubuntu
  • Deployment Method(snap/docker/tar/etc):
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • Node Version:
  • mongoDB Version:

Steps to Reproduce:

screenshot-open rocket chat-2018 03 09-04-53-00

faziloub avatar Mar 09 '18 03:03 faziloub

I'm not very familiar with RTL UIs, but to me that looks pretty much what I would expect. Can you elaborate on what "is not in place" means to you? :)

Cheers & Thanks Thomas

TwizzyDizzy avatar Mar 10 '18 13:03 TwizzyDizzy

Hello Is there any workaround for this bug? with CSS maybe? thanks

sparse91 avatar Mar 11 '18 14:03 sparse91

Hi @idanielblake,

no offense intended, but: can we first agree on what's the actual bug here? ;)

Cheers Thomas

TwizzyDizzy avatar Mar 11 '18 14:03 TwizzyDizzy

When I click on my profile picture on right above corner (in RTL RC) menu opens outside of the screen. Just like the picture. sorry for my eng. Thanks

sparse91 avatar Mar 11 '18 14:03 sparse91

Ah! I though this was some censoring for privacy. OK. Then I get it... thanks!

Cheers Thomas

PS: Nope, I cannot help you.

TwizzyDizzy avatar Mar 11 '18 14:03 TwizzyDizzy

Now is there any fix with some css? I updated our Rocketchat and It's broken somehow. Can you help? Thank you so much

sparse91 avatar Mar 11 '18 15:03 sparse91

same issue here

efih avatar Mar 12 '18 08:03 efih

RC 0.62.2: I tried some CSS but I'm not an expert. ltr direction made it better but messed up other menus. maybe there is a workaround. 0.64 milestone is a long time. .rc-popover__content { //right:30px !important; //min-width:200px !important; //max-width:300px !important; //transform: translateX(-50%); direction: ltr; //transform: translateX(-10%); //animation: unset !important; } .rc-popover { //direction: ltr; //width: 90% !important; }

sparse91 avatar Mar 12 '18 10:03 sparse91

Thanks for inform the problem to us. @karlprieb, can you evaluate @idanielblake workaround?

theorenck avatar Mar 12 '18 15:03 theorenck

We need to fix the calc that we use to set the position when an user open the popover. It need to be done using JS. I can do that on the 0.64 release

karlprieb avatar Mar 12 '18 17:03 karlprieb

thank you @karlprieb @theorenck

faziloub avatar Mar 15 '18 03:03 faziloub

This bug is come back in v3.13.3.

sparse91 avatar Apr 28 '21 09:04 sparse91

Same here - reproducing the bug in v3.11.0

ArielBenAharon avatar May 12 '21 10:05 ArielBenAharon