RocketChat / RocketChat/Rocket.Chat

Rocket.Chat Iframe integration: browser navigation failure

Open
#8,251 13 comments 5 reactions 1 assignee View on GitHub

@sampaiodiego is already working on this.

Since Sep 22, 2017.

area: ui/ux type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

I am integrating Rocket.Chat to our existing web application, which has a large user base. After successfull Rocket.Chat Keycloak integration (SSO), it was decided to inject chat to the existing application using available iframe integration since it allows sending commands for authentication and simplifies Rocket.Chat events handling.

The actual problem is the fact that, iframe integration breaks site navigation, i.e. klicking browser's back button doesn't navigate to the previous page.

Server Setup Information:
  • Version of Rocket.Chat Server: 0.58.2
  • Operating System: Ubuntu
  • Deployment Method(snap/docker/tar/etc): snap
  • Number of Running Instances: 1
  • DB Replicaset Oplog: MongoDB shell version: 3.2.7
  • Node Version:
Steps to Reproduce:
  1. Integrate Rocket.Chat as it is shown in Iframe integration
  2. Navigate in the web application (i.e. openning different menus, pages...)
  3. Click back button of the browser (Chrome, Mozilla)
  4. No matter how many times back button is clicked no navigation is taking place
Expected behavior:

Possibility to navigate back in browser

Actual behavior:

Clicking back button of the browser doesn't open previously open page

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.