Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue scrolling even when the cursor enters or goes past the boundary of an iframe boundary #41

Closed
danielwiehl opened this issue Nov 14, 2018 · 0 comments
Assignees

Comments

@danielwiehl
Copy link
Collaborator

Current behavior

If scrolling the <sci-viewport> in a remote site by having the primary mouse button pressed and moving the scroll thumb, scrolling stops if the cursor goes past the boundary of the iframe.

Expected behavior

Scrolling should be continued, similar when scrolling with the native scrollbar.

  1. Open a view that integrates another application with a remote site and which is embedded inside a <sci-viewport>
  2. Scroll the viewport and go past the viewport boundary while still having the primary mouse button pressed
  3. See that scrolling stops

Environment

  • SCION Workbench version: release/0.0.0-beta.11
  • Angular version: 7.0.0
danielwiehl added a commit that referenced this issue Nov 15, 2018
…r goes past the boundary of an iframe (#41)

This commit adds `SciMouseDispatcher` to dispatch 'mousemove' and 'mouseup' events between the application window and another window. Communication is based on `postMessage` and `onmessage` to safely propagate events cross-origin.
danielwiehl added a commit that referenced this issue Nov 15, 2018
…r goes past the boundary of an iframe (#41)

This commit adds `SciMouseDispatcher` to dispatch 'mousemove' and 'mouseup' events between the application window and another window. Communication is based on `postMessage` and `onmessage` to safely propagate events cross-origin.

fixes #41
danielwiehl added a commit that referenced this issue Nov 15, 2018
…r goes past the boundary of an iframe (#41)

This commit adds `SciMouseDispatcher` to dispatch 'mousemove' and 'mouseup' events between the application window and another window. Communication is based on `postMessage` and `onmessage` to safely propagate events cross-origin.

fixes #41
@danielwiehl danielwiehl self-assigned this Nov 16, 2018
danielwiehl added a commit that referenced this issue Dec 11, 2018
…ters or goes past the boundary of an iframe

This commit adds `SciMouseDispatcher` to dispatch 'mousemove' and 'mouseup' events between the application window and another window. Communication is based on `postMessage` and `onmessage` to safely propagate events cross-origin.

fixes #41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant