-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Image Occlusions not showing on iOS #87
Comments
Sadly, I don't remember what the exact issue was back then, but it was certainly some script error, no CSS issue.
Debugging templates on AnkiMobile was always a bit cumbersome. I used to place a function log(txt) {
document.getElementById("log").innerHTML += `${txt}<br>`;
} You could then wrap any script with a try...catch block and output errors with the log function above. E.g.: try {
// code you want to check
} catch (e) { log(e); } The output is plain text, but it's better than nothing. Maybe you'll find an error that way, so we can help you solve this issue. |
Another idea that helped me before: |
Thanks for your suggestions and quick responses! By implementing a wrapper around the
AnkiWeb on Safari 15.0 fails with
Weirdly enough, AnkiWeb works flawlessly under Firefox (95.0.2). In case anyone from the future wants to debug Anki on iOS here's my version of this wrapper:
I added
|
Hey @cmwfuchs, I've recently encountered the second issue you mentioned in another context. The |
Occluded parts of an image are always displayed on the iOS Anki app.
BROKEN
: AnkiMobile v2.0.83 on iOS 13.3BROKEN
: AnkiMobile v2.0.83 on iPadOS 13.3WORKING
: Anki Desktop 2.1.44 (b2b3275f) on macOS 11.6@kleinerpirat seems to have the same issue as referenced here: https://forums.ankiweb.net/t/closet-for-anki-official-support/4560/89
Current behavior: (image)
Expected behavior: (image)
Debug information
Unfortunately it is difficult/impossible to properly debug this issue under iOS as using the WebViewInspector is not possible.
Things I have tried/checked so far but didn't work:
__closet-0.5.3.css
into the Styling section of the card as @kleinerpirat suggested that it might be a CSS issuealert("Test")
after the part where I install thecloset.browser.recipes.rect.show({ tagname: "rect"}),
into thefilterManager
to check whether the setup script runs into an error of some kindrecth
changes anythingIf there is anything I can assist you with in fixing this bug please let me know!
Kind regards!
The text was updated successfully, but these errors were encountered: