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

Issues on iOS mobile #1

Closed
looselytyped opened this issue Aug 3, 2020 · 13 comments
Closed

Issues on iOS mobile #1

looselytyped opened this issue Aug 3, 2020 · 13 comments
Labels
bug Something isn't working

Comments

@looselytyped
Copy link

looselytyped commented Aug 3, 2020

I found this from your comment on HN — Great work. I am looking forward to using this.

Based on a Reply to your aforementioned comment, I tried https://loconotion-example.netlify.app/ on an iPhone, and I can't seem to scroll left-right. This happens in both landscape and portrait mode.

Details of my phone

iPhone 8 Plus with a 5.5-inch display

Please let me know if I can provide any details.

Again, great work! Thanks.

@leoncvlt
Copy link
Owner

leoncvlt commented Aug 5, 2020

Thanks for opening the issue - I can see this too. Ideally horizontal scroll should be available only on long, non-wrappable items (like tables), and all text content should fit the page width. Will take a look 😃

@leoncvlt
Copy link
Owner

Should be fixed as of c1329e0 - the example page at https://loconotion-example.netlify.app/ has been updated as well 🙂

@looselytyped
Copy link
Author

Thanks for this!

I played around this for a bit, and the horizontal scroll problem seems to have been fixed!

I did notice a couple more things, and I will let you decide if you if want to see a separate issue for this or not.

Again, thank you for this! Let me know if you need separate issues for these (then please let me know and close this issue) or you could just use this one.

@leoncvlt
Copy link
Owner

Cheers - can just update this one - seems like these issues don't occur when using the device simulator in Google Chrome, and are fine on Firefox on my Pixel as wel - will procure an actual iOS device to test on and let you know 🙂

@leoncvlt leoncvlt changed the title Can't scroll on mobile Issues on iOS mobile Oct 10, 2020
@leoncvlt
Copy link
Owner

Hello, just FYI I tried this on a iPad mini not so long ago and it seems to still be an issue - will require further investigation - any help with this is welcome 😃

@vzakharov
Copy link

I don’t know if it’s the right place to post this but this page is mangled in Chrome iOS
8B61115B-5C42-4879-A3E6-72A380DDB0F9

@tiulpin
Copy link

tiulpin commented Jan 3, 2021

@vzakharov, seems like a bug on WebKit (Chrome on iOS is almost Safari because of iOS limitations). Have the same issue on desktop Safari, don't know the way to fix it.
telegram-cloud-photo-size-2-5442923930538063178-y

@leoncvlt are you aware of this?

@leoncvlt
Copy link
Owner

leoncvlt commented Jan 3, 2021

Yup, I'm aware, haven't done any in-depth investigation since I do enough obscure-bugs-on-ios-only-troubleshooting during my regular job 🙈 Hopefully the new year will bring some discipline to actually look into this...

@tiulpin
Copy link

tiulpin commented Jan 3, 2021

@leoncvlt, the problem with the empty spaces inside the blocks happens because Safari does not calculate height as Chrome does.

If you manually edit the generated HTML, the problem will be solved:

  • to $('#notion-app > div > div > div > div.notion-scroller.vertical.horizontal > div:nth-child(2)') set max-height: 50px;
  • to $('#notion-app > div > div > div > div.notion-scroller.vertical.horizontal > div:nth-child(2) > div > div > div > div > div:nth-child(2)') remove height

Not the best solution and I don't know how to insert such logic inside the code with ChromeDriver. Still, the issue is important for me, because I don't want to miss iOS users on my Notion-generated websites.

@mabdullahabid
Copy link

@leoncvlt, the problem with the empty spaces inside the blocks happens because Safari does not calculate height as Chrome does.

If you manually edit the generated HTML, the problem will be solved:

  • to $('#notion-app > div > div > div > div.notion-scroller.vertical.horizontal > div:nth-child(2)') set max-height: 50px;
  • to $('#notion-app > div > div > div > div.notion-scroller.vertical.horizontal > div:nth-child(2) > div > div > div > div > div:nth-child(2)') remove height

Not the best solution and I don't know how to insert such logic inside the code with ChromeDriver. Still, the issue is important for me, because I don't want to miss iOS users on my Notion-generated websites.

Where and how did you insert this code to make it work? The hashed css file?

@mabdullahabid
Copy link

@leoncvlt I'd like to help with this. Did you come up with anything on this? I'm guessing we'll need to inject some code at the scraper level?

@leoncvlt
Copy link
Owner

leoncvlt commented Feb 6, 2021

Hi all, check out f9a1dc4, should have fixed this - I've also update the test site at https://loconotion-example.netlify.app/

@leoncvlt leoncvlt added the bug Something isn't working label Feb 8, 2021
@leoncvlt
Copy link
Owner

Will close now, feel free to make some noise if you get any more issues about this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants