We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
I have a custom welcome page that is shown when users hit the / route, which is using the ensuredSignedIn plugin with Iron.Router.
/
ensuredSignedIn
When accessing the page on an iPhone 6 Plus all is well:
However, accessing the exact same page on an iPhone 4s scrolls down to the mustBeLoggedIn message:
mustBeLoggedIn
On a Nexus 5 (Android) I can see it also scrolls:
How can I ensure that the page does not scroll to the middle for the registration on smaller screens? What causes this scrolling?
Router.plugin('ensureSignedIn', { only: ['home', 'profile'] }); AccountsTemplates.configureRoute( 'ensureSignedIn', { template: 'welcome' } ); AccountsTemplates.configure( { // Behaviour forbidClientAccountCreation: false, overrideLoginErrors: true, defaultState: '#', // Appearance showAddRemoveServices: false, showForgotPasswordLink: true, showLabels: true, showPlaceholders: true, showResendVerificationEmailLink: false, // Redirects homeRoutePath: '/', redirectTimeout: 4000, hideSignInLink: false, texts: { errors: { mustBeLoggedIn: 'Create an account with your email address', } } } );
The template looks like this:
<template name="welcome"> {{#contentFor "headerTitle"}} <h1 class="title">Welcome to my app</h1> {{/contentFor}} {{#ionContent}} <h1 class="padding">Howdy, stranger!</h1> <div class="card"> <div class="item item-text-wrap"> # and start playing! </div> </div> {{>atForm}} <div class="card"> <div class="item item-text-wrap"> Some text. </div> </div> {{/ionContent}} </template>
Package Versions (Meteor 1.1.0.2):
PS: I have a feeling it might have to do with a focus on the first input field that happens for some reason...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a custom welcome page that is shown when users hit the
/
route, which is using theensuredSignedIn
plugin with Iron.Router.When accessing the page on an iPhone 6 Plus all is well:
However, accessing the exact same page on an iPhone 4s scrolls down to the
mustBeLoggedIn
message:On a Nexus 5 (Android) I can see it also scrolls:
How can I ensure that the page does not scroll to the middle for the registration on smaller screens? What causes this scrolling?
The template looks like this:
Package Versions (Meteor 1.1.0.2):
PS: I have a feeling it might have to do with a focus on the first input field that happens for some reason...
The text was updated successfully, but these errors were encountered: