Codesandbox-client: Links to elements don't work

Created on 29 Jul 2019  路  11Comments  路  Source: codesandbox/codesandbox-client

馃悰 bug report

Description of the problem

Adding a link to a certain element will not work on codesandbox

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

trying to navigate to an id

Link to sandbox: link (optional)

Your Environment

| Software | Name/Version |
| ---------------- | ------------ |
| 小odesandbox |PROD-1564153504-2b37aae59
| Browser |Chrome
| Operating System |Mac

All 11 comments

@SaraVieira Navigation to ids are working fine in your sandbox so I think this issue is fixed. (Tested on Firefox 69.0 (64-bit) on LInux)

@armujahid Hm, still not working for me... (macOS Chrome 76.0.3809.132)

@karlhorky you are right. I tested it on Chrome 76.0.3809.132 (Official Build) (64-bit) on Linux and it's not working in both "Project View" and "New Window". So this is not a macOS exclusive issue.

Related: https://github.com/codesandbox/codesandbox-client/pull/198
But that code only affects history in iframe (Project View). New tab view shouldn't be affected by it.
I also noticed another interesting thing. If we directly open https://1ybpg.csb.app/ (in incognito window) without using "Open in New Window" button then id navigation works fine in chrome.

I'm seeing this same issue. Any sandbox you build with a static HTML5 have this issues when trying to navigate to an internal ID on the page.

Please fix this. I sadly wasted hours that I will not be getting back due to this issue.

https://github.com/codesandbox/codesandbox-client/issues/4527

This issue has automatically been marked stale because there has been no activity in a while. Please leave a comment if the issue has not been resolved, or if it is not stale for any other reason. After 2 weeks, this issue will automatically be closed, unless a comment is made or the stale label is removed.

This issue is still not resolved so I think this shouldn't be closed :)

It is finally fixed 馃帀

Awesome, thanks @SaraVieira !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

YarivGilad picture YarivGilad  路  22Comments

viankakrisna picture viankakrisna  路  21Comments

AlessandroAnnini picture AlessandroAnnini  路  25Comments

faceyspacey picture faceyspacey  路  44Comments

loilo picture loilo  路  22Comments