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

Focus on form input when fitToSection:true can scroll page and hide the input #4676

Open
alvarotrigo opened this issue Nov 29, 2024 · 0 comments

Comments

@alvarotrigo
Copy link
Owner

alvarotrigo commented Nov 29, 2024

Description

When using autoScrolling:false (or on responsive mode) and focusing on an input that is on the lower part of a full-screen section, then the mobile keyboard will show and fullPage.js will trigger fitToSection, forcing the scroll of the form and preventing the user from focusing on the input they want to type.

Related with #4222 and possibly #4441 #2891 #2842 #2891 #145

Reproduction online:

https://codepen.io/alvarotrigo/pen/vEBObYW

Steps to reproduce:
1- Open https://codepen.io/alvarotrigo/pen/vEBObYW
2- Scroll to section 3
3- Try to focus input 3 (Or just to to stop on it)

Versions

Latest fullPage.js

@alvarotrigo alvarotrigo changed the title Focus on form input when fitToSection:true wills scroll page and hide the input Focus on form input when fitToSection:true can scroll page and hide the input Dec 2, 2024
alvarotrigo added a commit that referenced this issue Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant