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

responsive screen warning for mobile devices #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chrisfenos
Copy link
Contributor

  • disables any application interaction from mobile devices in the on-boarding section.

@chrisfenos chrisfenos requested a review from ansermino February 14, 2019 11:40
@@ -36,6 +41,18 @@ class App extends Component {
})
}

componentDidMount = () => {
window.addEventListener('resize', this.updateDimensions);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't update on resize, our concern is metamask not the actual size of the screen

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The initial issue was mobile devices & if a mobile screen is detected then do not display the bridge form. Because of the refactor in App.js its not easy to use any of the libraries for responsive screen sizes. @ansermino

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants