Skip to content
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

iOS scrolling blocked #840

Closed
3 tasks done
teacoat opened this issue Nov 26, 2024 · 3 comments ยท Fixed by #851
Closed
3 tasks done

iOS scrolling blocked #840

teacoat opened this issue Nov 26, 2024 · 3 comments ยท Fixed by #851

Comments

@teacoat
Copy link

teacoat commented Nov 26, 2024

โœ… Prerequisites

  • Did you perform a cursory search of open issues? Is this bug already reported elsewhere?
  • Are you running the latest SDK version?
  • Are you reporting to the correct repository (magic-sdk)?

๐Ÿ› Description

On ios safari scrolling breaks after init. I am making an ios capacitor app and after init no elements are scrollable.

After narrowing it down the issue was introduced at v28.3.1

In this version, a white screen flashes a few times and then disappears and scrolling stops working. There is an issue for this - (#787) - and while it is resolved and the white screen doesnt happen, the scrolling issue remains.

Specifically, I am using Capacitor to build my app, however it uses safari as the webview.

๐Ÿงฉ Steps to Reproduce

  1. Open site in safari
  2. Wait for magic to init
  3. Attempt to scroll

๐Ÿค” Expected behavior

Scrolling works as normal

๐Ÿ˜ฎ Actual behavior

Scrolling does not work

๐Ÿ’ป Code Sample

๐ŸŒŽ Environment

Software Version(s)
magic-sdk 28.18.0
Browser Safari
yarn
Operating System iOS
@danvincent11
Copy link

I encountered a similar issue and spent a significant amount of time debugging my CSS, initially assuming the problem was caused by a third-party component. Upon further investigation, I discovered that the issue stemmed from the visibility transition (changing from display: none to visibility: hidden).

@joshuascan
Copy link
Member

Hi @teacoat ,

Would you mind installing this SDK version and see if it resolves your issue: magic-sdk@28.21.1-canary.851.13081262431.0

@joshuascan
Copy link
Member

Fixed in version 28.21.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants