cogentcore / core

A free and open source framework for building powerful, fast, elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web with a single Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.73k stars 82 forks source link

Web site fails on ios safari #1005

Closed gedw99 closed 3 months ago

gedw99 commented 3 months ago

Describe the bug

Main cogent core web site fails in iOS Safari .

it reloads when you try to do certain basic things …

How to reproduce

If you have IOS mobile, just click the link the web site

if not then use browser stack which has real iOS hardware for free that you access via their web gui .

Example code

No response

Relevant output

No response

Platform

iOS

gedw99 commented 3 months ago

The versions don’t line up so hard to reproduce..

https://github.com/cogentcore/core/tags does not have 0.2.1 which the web site below uses:

https://github.com/cogentcore/cogentcore.github.io/blob/main/go.mod

require cogentcore.org/core v0.2.1-0.20240621183602-ae5a742c9569

kkoreilly commented 3 months ago

Thank you for reporting this! I can reproduce this and will work on fixing it immediately. The reason why it says 0.2.1 is that it uses the next version after the latest release (so 0.2.0 becomes 0.2.1) for the pseudo versions after it.

kkoreilly commented 3 months ago

Note that you may need to clear your cache to get this to work; see https://support.apple.com/en-us/105082. This is because it might have gotten stuck with the bad version. This should not happen again.

kkoreilly commented 3 months ago

Also note that the horizontal scrolling issues with the website on mobile should be resolved soon.

gedw99 commented 3 months ago

Update worked without me doing anything.

2024-07-11 17 14 32

kkoreilly commented 3 months ago

Great!