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

Demo page does not scroll on Safari 6, OS X 10.8 #270

Closed
richarddong opened this issue Sep 4, 2012 · 16 comments
Closed

Demo page does not scroll on Safari 6, OS X 10.8 #270

richarddong opened this issue Sep 4, 2012 · 16 comments
Assignees
Labels

Comments

@richarddong
Copy link
Contributor

http://jejacks0n.github.com/mercury/

@jejacks0n

@jejacks0n
Copy link
Owner

Works for me -- do you have any more information that would effect it?

@aaronbrethorst
Copy link

I'm having the same problem. Everything except a two finger swipe works fine. There's nothing special about my setup. MacBook Air (mid-2012), 10.8.1, Safari 6.0 (8536.25). Interestingly, once I bring up the web inspector, two-finger scrolling works fine.

repro steps:

  1. Open http://jejacks0n.github.com/mercury/
  2. Try to scroll

i.e. do not hit the "Check out the demo" button

@jejacks0n
Copy link
Owner

Ack.. these are the worst.. I still can't duplicate it.. safari 6.0 (7536.25) / os x 10.7.4.. is it an issue with the changes made in Mountain Lion? It'll be hard for me to sort out for a few days, so if anyone can help sort it out that would be awesome, otherwise it'll be a few days.

Thanks for the help trying to sort this out.

@aaronbrethorst
Copy link

What's the easiest way for me to get the demo experience running locally so I can try to nail this down?

@jejacks0n
Copy link
Owner

I was able to test it on a coworkers machine (I haven't updated yet), and I can confirm that this is only an issue in Mountain Lion / Safari 6.0 -- so it's an OS issue.

@aaronbrethorst If you've got ruby setup etc, you can clone the project, bundle, and run rackup.. then access it at localhost:9292

It's easier if you have rails experience, but it's not that hard.

If you just want the demo app, you can clone the gh_pages branch -- it's static pages.

@aaronbrethorst
Copy link

Sweet, that does it. I'll take a look and see if I can figure it out. Are there any suggestions you can give me on where to go looking? For example, do you hook onScroll anywhere, or anything similar?

@jejacks0n
Copy link
Owner

No, it's just an iframe with a width/height.. it may have something to do with how scrolling works on iframes now?

@aaronbrethorst
Copy link

Interesting... I'll do some investigation along those lines. Also I tried bisecting back a couple months but found that this problem has gone back at least that far.

Sent from my iPhone

On Sep 5, 2012, at 3:28 PM, Jeremy Jackson notifications@github.com wrote:

No, it's just an iframe with a width/height.. it may have something to do with how scrolling works on iframes now?


Reply to this email directly or view it on GitHub.

@jejacks0n
Copy link
Owner

I actually understand it -- it has specifically to do with the Mercury Loader script. Notice that if you resize the window at all it will begin scrolling properly. It must be a timing issue, and now that I understand it / can reproduce it I'll definitely be taking a look at fixing it.

Thanks again all for the heads up.

@ghost ghost assigned jejacks0n Sep 17, 2012
@ilyacherevkov
Copy link
Contributor

Same for me: two fingers swipe and mouse week don't work for me in Safary 10.8

@tigg
Copy link
Contributor

tigg commented Oct 26, 2012

Same here.

Additionally, scrolling does not work at all on my experimental rails app for trying out Mercury Editor on Safari, Chrome and Firefox. I'm running Mac OS X 10.8.2. Mercury Editor 0.9.

@romainbutteaud
Copy link

I have the same problem here. Did someone find a way to fix it?

@romainbutteaud
Copy link

Ok I got it.
If you change the overflow property from "hidden" to "scroll" of the "html, body{}" tags in the mercury.css file, it will works great now.

@tigg
Copy link
Contributor

tigg commented Nov 9, 2012

Excellent. That fixed it for me, too. In the editor as well as all other pages. Thanks RomainButteaud!

@jejacks0n
Copy link
Owner

I'll fix that shortly then. Thanks for sorting it out!

@tigg tigg mentioned this issue Nov 9, 2012
@flojon
Copy link

flojon commented Nov 12, 2012

Hello,

I have the same problem but this fix is not enough in my case. I found that I have to remove "visibilty: hidden" from .mercury-iframe to make scrolling work...

timfjord pushed a commit to timfjord/mercury that referenced this issue Jan 19, 2014
Removed overflow: hidden to fix scrolling problem.
See jejacks0n#270
maksymsm pushed a commit to maksymsm/mercury that referenced this issue Dec 6, 2018
Removed overflow: hidden to fix scrolling problem.
See jejacks0n#270
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants