rauchg / slackin

Public Slack organizations made easy
http://rauchg.com/slackin/
MIT License
6.51k stars 1.35k forks source link

Embedding in an iFrame forces scroll on parent page because focus is set #391

Open treblig opened 5 years ago

treblig commented 5 years ago

First off, this could totally be my error - I apologize for wasting time if it is.

I embed a Heroku-hosted instance of Slackin on my podcast's website, https://acquired.webflow.io/.

When the page loads, it is auto-scrolled so that the Slackin iFrame is in view, and focus is automatically set to the Slackin field. Is this a bug with Slackin? Or something that I have to do when embedding it as an iFrame on another website?

treblig commented 5 years ago

@rauchg Any chance you could take a look at this?