Re:A problem repeatedly occurred with Safari 14.1
by TrueGeek on Friday April 30, 2021 @09:10AM
(#26992931)
A bit off topic but I just want to thank you for such a great site. Just this morning I had been linked to it for a travel diary of LEJOG.
Re:A problem repeatedly occurred with Safari 14.1
by Doctor_Fegg on Friday April 30, 2021 @10:09AM
(#26993671)
Thank you! I love working on it, and hearing about people enjoying cycling holidays they've planned with the site is the best reward.
Re:A problem repeatedly occurred with Safari 14.1
by SamuelAdams on Friday April 30, 2021 @11:46AM
(#26994975)
Confirmed the bug on an iPhone XS running 14.5. I had to focus the from field twice before it crashed.
Re:A problem repeatedly occurred with Safari 14.1
by aeontech on Friday May 07, 2021 @06:08PM
(#27081410)
Looks like a fix is in the works at https://bugs.webkit.org/show_bug.cgi?id=225259 using your site as the reproduction case :)
Re:A problem repeatedly occurred with Safari 14.1
by alanfranz on Friday April 30, 2021 @02:42AM
(#26990476)
I've got a fully-updated iPhone 11 with iOS 14.5 and your site works perfectly well with my device in Safari.
Re:A problem repeatedly occurred with Safari 14.1
by kelnos on Friday April 30, 2021 @02:47AM
(#26990497)
Maybe because they commented out the code on their site that triggered the issue?
Re:A problem repeatedly occurred with Safari 14.1
by Doctor_Fegg on Friday April 30, 2021 @03:46AM
(#26990792)
I did, yes - or rather I put it behind a UA check. I've just put up a reproducible case behind a query-string flag - see edit above.
Re:A problem repeatedly occurred with Safari 14.1
by tinus_hn on Friday April 30, 2021 @05:04AM
(#26991249)
This does cause a crash on my iPhone XR running iOS 14.5
Re:A problem repeatedly occurred with Safari 14.1
by alanfranz on Friday April 30, 2021 @05:33AM
(#26991408)
I confirm not crashing for me on MacOS Mojave with Safari 14.1:
Re:A problem repeatedly occurred with Safari 14.1
by Doctor_Fegg on Friday April 30, 2021 @06:40AM
(#26991779)
That's interesting - so a Mobile Safari issue but not a desktop one. Cheers.
Re:A problem repeatedly occurred with Safari 14.1
by alanfranz on Friday April 30, 2021 @08:31AM
(#26992562)
I confirm I can trigger the bug in iOS 14.5 on my iPhone 11. Interestingly, the first time I click on "From" or "To" I get a forced refresh.
Re:A problem repeatedly occurred with Safari 14.1
by js2 on Friday April 30, 2021 @10:20AM
(#26993811)
It's crashing both times, it's just that the first time, Safari reloads the page. The second time, it gives you the "repeatedly" crashing message.
Re:A problem repeatedly occurred with Safari 14.1
by realusername on Friday April 30, 2021 @11:36AM
(#26994816)
That's not surprising, I've seen a lot of cases where Mobile Safari has different bugs than the desktop one.
Re:A problem repeatedly occurred with Safari 14.1
by mannerheim on Friday April 30, 2021 @05:54AM
(#26991523)
OP said the bug appeared on iOS 14.5
Re:A problem repeatedly occurred with Safari 14.1
by alanfranz on Friday April 30, 2021 @08:31AM
(#26992558)
The main linked article is about Safari 14.1 on MacOS. If it is "exactly the same issue" as OP says, then how come it doesn't appear on Safari 14.1 on MacOS?
It's probably not a Safari bug.
Re:A problem repeatedly occurred with Safari 14.1
by alanfranz on Friday April 30, 2021 @02:58AM
(#26990556)
Possibly. But then there's no way to confirm it happens on a lot of devices. So far I've been unable to reproduce the issue on any of my MacOS and iOS devices on any problem-related URL I was given in this thread or linked discussions.
Re:A problem repeatedly occurred with Safari 14.1
by mannerheim on Friday April 30, 2021 @03:07AM
(#26990593)
Trello evidently had a bug (or rather, Safari 14.1 evidently has a bug which manifested on Trello) related to Intl.NumberFormat:
https://community.atlassian.com/t5/Trello-questions/Re-Trell...
Does the following work for you in Safari 14.1?
new Intl.NumberFormat('en-US', {notation: 'compact'}).format(1825602)
In Chrome this gives "1.8M"
Re:A problem repeatedly occurred with Safari 14.1
by brewmarche on Friday April 30, 2021 @05:03AM
(#26991244)
I encounter the same issue which for me breaks Microsoft's documentation, e.g. https://docs.microsoft.com/en-us/dotnet/api/system.io.memory...
I get (macOS 10.14.6, Safari 14.1):
> new Intl.NumberFormat('en-US', {notation: 'compact'}).format(1825602)
< TypeError: Failed to initialize NumberFormat since used feature is not supported in the linked ICU version
Re:A problem repeatedly occurred with Safari 14.1
by alanfranz on Friday April 30, 2021 @05:34AM
(#26991414)
Is that even the same issue?
Re:A problem repeatedly occurred with Safari 14.1
by mannerheim on Friday April 30, 2021 @05:50AM
(#26991496)
It is the root cause of some issue with Trello that appeared with Safari 14.1, but perhaps not the same issue causing other sites to break; if so, perhaps there are multiple bugs with the update.
The cause was calling focus/setSelectionRange on a textfield within a click handler. When I commented these out then the problem disappeared.
Not a rare combination and I’d have thought beta-testing should have flushed this out, but there you go.
Edit:
If you want to try reproducing this, go to https://cycle.travel/map/mobile?debug=1 , and click within the 'From' or 'To' field. It crashes every time on my iPad running iOS 14.5.