Toggling left side menu in iFrame not working

Description

Server Setup Information

  • Version of Rocket.Chat Server: 3.16.0
  • Operating System: Linux
  • Deployment Method: docker
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:
  • Proxy:
  • Firewalls involved:

I’ve embedded RC within an iFrame and am unable to toggle the left hand sidemenu.
Here are the images showing unclicked and clicked menu icon on top left:


Any idea what’s up?

It’s because I had added ?layout=embedded at the end of the iFrame src