Skip to content

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

@alvarotrigo

Description

@alvarotrigo

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions