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

Input field is not always scrolled / zoomed to visible area #16

Open
rainemak opened this issue Nov 3, 2016 · 1 comment
Open

Input field is not always scrolled / zoomed to visible area #16

rainemak opened this issue Nov 3, 2016 · 1 comment

Comments

@rainemak
Copy link
Member

rainemak commented Nov 3, 2016

Steps to reproduce with following example (number input is 3rd last input type at the time of reporting this):

  1. Take example that is at the end into use
  2. Turn device to landscape
  3. Tap to number field
  4. Pan content so that half of the 4th last input type is visible ("Local Date and Time") and keyboard should be still open
  5. Tap to "Local Date and Time" field

Expected outcome:
"Local Date and Time" field is scrolled to the visible area

Actual outcome:
"Local Date and Time" field is not scrolled to the visible area

Addition information:
My gut feeling is that error is lucking somewhere over here and changed virtual keyboard height might play a role there (like from number to text type):
https://git.merproject.org/mer-core/embedlite-components/blob/master/jsscripts/embedhelper.js#L387

Some previous discussion in PR #15

Example to reproduce:

 import QtQuick 2.1
 import Sailfish.Silica 1.0
 import Sailfish.WebView 1.0

 ApplicationWindow {
     allowedOrientations: Orientation.All
     initialPage: WebViewPage {
         allowedOrientations: Orientation.All
         anchors.fill: parent
         WebView {
             anchors.fill: parent
             url: "http://www.456bereastreet.com/lab/html5-input-types/"
             active: true
         }
     }
 }
@rainemak
Copy link
Member Author

rainemak commented Nov 3, 2016

When fixing this one use JB#36832 bug reference so that we get proper changelog entry.

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

No branches or pull requests

1 participant