语言

Menu
Sites
Language
Scrolling when keyboard pops up

Hi, I'm working on a device with a very small screen and whenever the keyboard pops up it would cover up some of the UI elements that is at the bottom of the page. I'm trying to create handlers that listens to scroll events so that I can manually scroll the page to the bottom whenever the keyboard is triggered. But I can't seem to detect this scroll event, I've tried the following:

$(window).scroll(function() {});

$("body").scroll(function() {});

 

It feels to me that this scroll is native to tizen and inaccessible by the web app. Is this true? Are there other ways I can detect or manipulate this scroll?

编辑者为: Yun Wei 06 12月, 2013

响应

1 回复
Lakshmi Grandhi

Hi,

Try using "scrollstart" and "scrollend" events on document

$(document).on("scrollstart", function (e) {
        console.log("received scoll start event");
    } )