tmort / Socialite

Other
1.68k stars 164 forks source link

Facebook button's iframe overflow problem. #78

Open hgani opened 10 years ago

hgani commented 10 years ago

facebook_socialite

Hi,

As you can see from the attached screenshot, I was using Chrome's Javascript console to confirm that there is an invisible 60x1000 iframe which covers some part of web content thereby preventing any mouse events on the covered content. Here's the website shown in the screenshot: http://www.crowdvoice.com

Further investigation tells that this is caused by the use of Turbolinks, thus as a user clicks a link, rather than reloading entirely, a page simply gets replaced with the new page.

As this problem only happens when I visit a page with a Facebook button multiple times, I assume the resulting problem is due to the Facebook button getting reloaded the second time. There seems to be a proposed solution for using Facebook buttons with Turbolinks: http://reed.github.io/turbolinks-compatibility/facebook.html

So, I am expecting to get the following clarified:

  1. Is it true that Socialite is not yet compatible with Turbolinks?
  2. If so, could this be fixed in Socialite?

Thanks heaps

Hendrik