-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Safari 10 Support #9851
Comments
I ran into this the other day. I was trying to present a site I made on a school computer & all the links didn’t work at all—they didn’t even degrade as I expected to regular a tag behavior, they just didn’t work. Good to know why that was happening. |
#9782 |
I just wanted to chime in here and share that I am having the same issue on iPhone 7/8 for a Next.js/Zeit based game we intend to launch mid-January (by which I mean we are excited; it's not meant to put pressure here during the vacations at all). The app just gets stuck and there isn't much there in the console to file an issue. It's most definitely an issue with routing though. I also have an update that on iPhone 7 with the latest Chrome and Safari versions, this issue exists whenever users click a next.js Link component. I'm investigating what I can do there since it works everywhere else except for the old iPhone (even with new software). P.S. Please work on this after the vacations. It's not a blocker for anything. |
In our company's business project, We use next.js with version 9.16, some users report us to could not visit our web app, it makes me so depressed and it is a thorny issue. I try to fix it in my private NPM, I find building the next.js project so difficult. |
We had to roll back from In dev I then got «Invalid href passed to router» in the simulator. Downgrading to For us the links completely broke. Not falling back to server-side navigation. It might be a good idea to ensure that native a tag navigation still happens in production when Router throws an error. But would make it harder to detect it in dev 🤷♂ Move We also use |
Temporary fix for vercel/next.js#9851
This is definitely a blocker for us and we are currently waiting for this to be implemented before upgrading. Hope you could prioritize this. |
We're using |
This issue is solved in 9.2.1 |
Wow! That was fast. Really appreciate the work you put on this project. Thanks! The issue should be closed then @timneutkens |
We kept it open as there's a few other issues related to native-url. |
It looks like this bug is back in I've tested The bug is still fixed in |
@carloscuesta based on @alexypdu this issue has been fixed 👍 |
It is not working again I have |
Try next@canary, we recently made some more updates for edge cases with Safari |
Guys, I'm using next v10, and my website does not load on Safari. Something that can I do? |
Using this I'm be able to render the website! But I lost the translations.... Can you help me? |
@tpreusse Do you have other alternative than that ? Because my translations "next v10" stopped working |
Please check aralroca/next-translate#508 (comment) |
Hello. Same issue here.. Édit : solution here https://stackoverflow.com/questions/63055442/react-next-js-site-doesnt-load-properly-in-safari-blank-page/66772524#66772524 |
Just one more vote to re-open. I don't have any special fonts on my site, but I have users reporting it doesn't work, only on Safari (but it works fine one every other browser). |
Il you use any other font it will brake that was the case for me |
Issue continues |
Having the same issue |
Also had user reports of my site being unavailable on Safari 10. @timneutkens This issue was re-introduced with Next 10—there's internals of Next using un-polyfilled methods Safari 10 doesn't have available |
Guys, the Next.js devs just don't believe you: they believe there is nothing wrong with the library, and it's our fault. See #24202 (comment) ... I tried to get them to pay attention to this issue, and they literally said:
So until someone spoon-feeds things to them (eg. by providing a failing test case) it's simply going to go unaddressed, because they don't believe it's their fault. |
@machineghost The Next.js team is juggling literally thousands of issues/PRs/comments while trying to build & release new features—this issue didn't have a specific reproduction, so I don't blame them for not prioritizing it. For me, the issue is with next/image's, specifically on Source code causing the issue: next.js/packages/next/client/image.tsx Line 107 in c76170e
I tested this on Safari 10.1 on macOS Sierra on BrowserStack. Happy to provide any more details if needed. |
This has been fixed recently (currently on canary), also affected IE11.
What JJ said is that there are tests covering that version of Safari and that they're currently passing, meaning that the issue that you're running into is not easily reproducible (which we tried) and because you did not provide a reproduction the issue is not actionable and can't be investigated further, which is clearly mentioned in the issue template. If you're running into a particular issue please first check if there's an open issue similar/same to yours, if there is no open issue for it please open a new issue that follows the full issue template which includes providing a reproduction so that it can be looked at / advice can be provided. As @lachlanjc said we handle approximately 100 to 150 notifications every day and "same issue" on a closed issue that has tests is unfortunately not enough to be able to reproduce an issue in one particular app without knowing what customization, libraries, settings, etc. are used.
This has nothing to do with "whose fault it is" or not acknowledging something in your app is not working as you intended, it's about being able to investigate and fix a bug that you're reporting, we tried to investigate but could not find an issue because you did not provide a reproduction. You don't have to provide a test case, only a repository that can be investigated. Every bugfix/feature PR has tests added to the test suite, it's currently holding over 3400 integration tests which are expanded every day and run on every PR. |
To be clear, if you review my last comment I was in no way blaming anyone; I was simply describing (in blunt terms) the current state. Look, on any OSS project, the team will take it upon themselves to fix some issues without reproduction steps, because the problem is obvious: it's clearly it's "the library's fault". Other tickets have nothing to do with the library, and result from user confusion, so the team will (legitimately) keep blaming outside sources, demanding reproduction steps or other proof (which will never come). ... and some issues seem to obviously be the library's fault to the user ... but don't seem to be to the maintainers. This is one of those issues. Such issues have to be "spoon fed" with reproduction steps and other details, because the user thinks it's the first type of bug, and the team thinks it's the second. As such, if we (users) want them (the Next.js team) to fix this problem, we have to "spoon-feed" them proof that it originates in Next.js code (ie. it is Next.js's "fault"). My comment (and it's blunt tone) was absolutely meant to try and encourage such "spoon feeding" from the users here, or maybe draw some dev attention ... but again, I was in no way faulting anyone. I personally don't believe user bug reports all the time, and I'm sure most devs in the thread have had similar experiences. |
Update: canary solved my issue! Thanks for your work there @timneutkens. |
Just to be clear we tried to reproduce this issue in various ways but could not reproduce it. Here's 2 separate urls: one a basic page and one an enterprise-grade Next.js app with hundreds of pages / thousands of components, both on the latest version:
Both were tested in Browserstack on real devices:
As you can see both run completely fine with Safari 10, so we can't investigate more than we already have without a reproduction.
You literally said this:
Which is not true, we asked for a reproduction as the issue that you're having in your particular app can't be reproduced on other applications. If you provide a reproduction we'd be happy to take a look and investigate. Your choice of words is not very helpful, especially after we spent multiple hours investigating your issue without a reproduction provided. |
Why not open this issue then? A closed ticket ultimately says "we don't believe this is an issue". An open ticket (with comments saying "we need reproduction steps to fix this") says "we believe this is an issue ... but we can't solve it without your help." |
Because this issue was fixed in 2019 and tests for this case were added. As said we'd be happy to take a look at any issue that follows the issue template which requires a reproduction to be provided. |
have the same problem on next 11.1.2 please reopen and fix this please . |
Please open a new issue with a reproduction. |
Do we want to support Safari 10? This browser is end-of-life but seems to still have a decent number of active users.
We've had at least two issues crop up about it (I've seen more that I don't have on hand):
Fixes #9782
Fixes #9827
This is due to Safari 10 incorrectly implementing
URL
, so Next.js wont work even if users polyfill support back. As a result, client-side transitions try to happen via server-side and fail:Correct behavior (Safari 11+):
The text was updated successfully, but these errors were encountered: