Closed Bug 904706 Opened 11 years ago Closed 9 years ago

Thimble pages not scrollable on iOS

Categories

(Webmaker Graveyard :: Thimble, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tleingruber, Assigned: robertstanica)

References

Details

Attachments

(1 file, 1 obsolete file)

I can't scroll Thimble pages in Safari on Apple iOS. I tested this with different Thimbl pages and on Ipad and Iphone. It didn't work.
Assignee: nobody → pomax
I have no iOs devices to test this with atm, reassigning.
Assignee: pomax → jon
Yep, I can definitely replicate this locally. The problem appears to be an intentional change in iOS 5 that can be fixed by applying the following CSS styles to the parent container: diff --git a/public/static/stylesheets/makedetails.less b/public/static/stylesheets/makedetails.less index 0274240..2b575e3 100644 --- a/public/static/stylesheets/makedetails.less +++ b/public/static/stylesheets/makedetails.less @@ -171,6 +171,10 @@ body { -webkit-transition: top .2s ease-in-out; -o-transition: top .2s ease-in-out; -ms-transition: top .2s ease-in-out; + + /* For iOS scrolling within iframe. Safariiiiiiii */ + overflow: scroll; + -webkit-overflow-scrolling: touch; } The only problem with this CSS is that it displays two scrollbars on desktop browsers. Need to figure out a CSS or JS way to detect Safari Mobile and apply this CSS.
Going to pick this up
assigning to you then, Robert =)
Assignee: jon → robertstanica
Status: NEW → ASSIGNED
Note that this fix is for iPads only. Is this ok or do we want iPhone support for Thimble?
I just shared a thimble and had several people complaining about this, and it's the same for me on iPhone Safari. Please fix!
I think we'd want this on iphone as well as ipad.
Kate, can you please finish up this review?
Attachment #815380 - Flags: review?(kate)
Comment on attachment 815380 [details] [review] https://github.com/mozilla/thimble.webmaker.org/pull/237 This needs to be moved to the mozilla/make-valet and not have a minimum value. Rob, can you ping me in IRC?
Attachment #815380 - Flags: review?(kate)
Attachment #815380 - Flags: review-
Attachment #815380 - Flags: feedback?(robertstanica)
Attachment mime type: text/plain → text/x-github-pull-request
Attachment #815380 - Attachment is obsolete: true
Attachment #815380 - Flags: feedback?(robertstanica)
Attachment #8359934 - Flags: review?(kate)
Attachment #8359934 - Flags: review?(kate) → review-
FYI, I just tried to view a thimble on my iPhone yesterday and there was no scroll.
This isn't really an issue with the new https://thimble.mozilla.org but on iOS, the page is zoomed in too much (https://github.com/mozilla/thimble.webmaker.org/issues/1323). Doesn't look like we'll be supporting dev on iOS anytime soon though.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: