Closed
Bug 1038778
Opened 12 years ago
Closed 11 years ago
embed-padding iframe should not have its own scrollbar
Categories
(Webmaker Graveyard :: Thimble, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: michiel, Assigned: michiel)
References
()
Details
http://i.imgur.com/JG5utPA.png shows two scrollbars, one for the tutorial section, one for the embedding iframe. One of these needs to go.
interesting problem: the scrollbar comes from the embed shell, and is class .embed-padding - in normal view that's necessary to have the iframe content scrollable, but as a tutorial this sets up two scrollbars. Is there a thing we can do with the makedetails.css that allows us to fix this situation?
Flags: needinfo?(jon)
Comment 2•12 years ago
|
||
I truthfully don't know CSS well enough to answer that. I know we added the CSS to force scrollbars on iOS, because otherwise you couldn't see Thimble pages. I guess that media query is being triggered by the small tutorial window.
STR:
1) Visit https://thimble.webmaker.org/project/60766/remix in Chrome or Safari
2) Look at those dual scroll bars in the tutorial on the left. Just look at them.
:k88hudson, :akirose - Any ideas here?
Flags: needinfo?(kate)
Flags: needinfo?(jon)
Flags: needinfo?(aki)
Comment 3•12 years ago
|
||
Just by removing `overflow-y: auto` from `.embed-padding`, I seemed to solve the problem without breaking anything on firefox, chrome, or safari. The iframe fills the space it was intended to fill, and the content scrolls properly *within* the iframe! (would still need to test in IE, I didn't fire up any VMs for this. I could do that tomorrow if you still need it)
Flags: needinfo?(aki)
Comment 4•12 years ago
|
||
We should also test mobile iOS - i think that might have been the reason we had the overflow-y:auto
Flags: needinfo?(kate)
Comment 5•12 years ago
|
||
I'm having a really hard time testing that because for whatever reason (that I admit I didn't research right this second) the viewport height on load for iOS is HUGE so I can't find a make with a tutorial with any step that gets tall enough to need to scroll. http://snaps.akibraun.com/l118w.png
I know iframes used to require two-finger scroll in iOS Safari, but I /thought/ they changed that in iOS 7. I'll look into it.
Comment 6•12 years ago
|
||
It sounds like, according to the internet (i know i know) as long as we keep `-webkit-overflow-scrolling:touch`, we should be okay.
I have no iOS devices at all, does anyone with an ipad want to confirm that works? :jbuck?
Closing as part of maintenance: thimble is getting a full makeover, and issues will be tracked on http://github.com/mozilla/thimble -- marked as WONTFIX to indicate "will not be tracked through bugzilla anymore"
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•