Skip to content

🐛 Open Sandbox throws an error & Open Sandbox in new tab opens in current window #1738

@dance2die

Description

@dance2die

🐛 bug report

I've spotted two issues

  1. "Open Sandbox" doesn't open a sandbox and throws an error in console
  2. "Open Sandbox in new tab" opens a sandbox in current tab

1st Error

Clicking on Open Sandbox does not open & throws following error in console.

Uncaught TypeError: Cannot read property 'ctrlKey' of undefined
at Object.action (index.js:287)
at onMouseUp (index.js:132)
at Object. (react-dom.production.min.js:14)
at f (react-dom.production.min.js:15)
at react-dom.production.min.js:15
at C (react-dom.production.min.js:17)
at E (react-dom.production.min.js:18)
at j (react-dom.production.min.js:18)
at M (react-dom.production.min.js:21)
at kn (react-dom.production.min.js:84)

error in console

You can see the interactive demo 👇

error demo

2nd Error

"Open Sandbox in new tab" opens a sandbox in current tab.
You can see the error in action in the GIF demo in the first issue above.

How has this issue affected you? What are you trying to accomplish?

I'd like to open a sandbox in a new tab.

Link to sandbox

The sandbox opened in the GIF demo is this sandbox.

Your Environment

Software Name/Version
Сodesandbox PROD-1554491263-be5b09e5c
Browser Version 73.0.3683.103 (Official Build) (64-bit)
Windows 10 Version 1803 (OS Build 17134.648)
Ubuntu 18.10

The same error/misbehaviors occur on latest version of Windows 10 & Ubuntu 18.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions