Results 1 to 3 of 3

Thread: [DUPE-653] Touch 1.0.1 scrolls to end of page on simple touch.

Hybrid View

Previous Post Previous Post   Next Post Next Post
    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    36

    Default [DUPE-653] Touch 1.0.1 scrolls to end of page on simple touch.

    Hi guys,
    I cannot seem to fix this problem.
    I run a simple 'hello world' page in sencha touch 1.0.1, run it in iPad - and if i simply touch the middle of the page, it immediately throws me at the bottom of the page, where there is all this gray space.

    Here's the code:

    Code:
    <!DOCTYPE html>
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
            <title>Hello World</title>
    
            <link href="http://wvit008.vifp.monash.edu.au:8080/SpecEntry/commons/lib/touch/resources/css/sencha-touch.css" rel="stylesheet" type="text/css"/>
            <script src="http://wvit008.vifp.monash.edu.au:8080/SpecEntry/commons/lib/touch/sencha-touch.js" type="text/javascript"></script>
    
    <script type="text/javascript">
    
        new Ext.Application({
            launch: function() {
                new Ext.Panel({
                    fullscreen: true,
                    html: 'Hello World!'
                });
            }
        });
    
    </script>
    
        </head>
        <body></body>
    </html>
    Right now, I cannot do anything.
    This is unusable and if there is no proper workaround, I'll be forced to use jQuery mobile - but I want to use sencha touch - please help, cause I feel this is a bug.

  2. #2
    Sencha User Jacky Nguyen's Avatar
    Join Date
    Jul 2009
    Location
    Palo Alto, California
    Posts
    469

    Default

    This is duplicated with:

    http://www.sencha.com/forum/showthre...egApplication()

    Please wait and download 1.0.1a which has the fix, or temporarily wrap your application code with:

    Code:
    Ext.setup({
        onReady: function(){
            // Your code here
        }
    });
    instead
    Sencha Touch Lead Architect

  3. #3
    Sencha User
    Join Date
    Mar 2010
    Posts
    36

    Default

    I did notice that when I would do an event.stopEvent() on a 'keyup' listener in a textfield, I would get this problem. I took it out - and the problem went away. Would be good to fix it though.

Similar Threads

  1. A simple stock app with YQL and Touch
    By jmcdonald69124 in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 0
    Last Post: 12 Nov 2010, 8:18 AM
  2. Sencha Touch on iPhone v1 / iPod touch v1 ?
    By palnap in forum Sencha Touch 1.x: Discussion
    Replies: 4
    Last Post: 28 Oct 2010, 5:30 PM
  3. page transitions in Sencha touch
    By fgeorge in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 20 Aug 2010, 9:53 PM
  4. tap vs. touch and start/cancel/end combinations
    By DaveC426913 in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 6 Aug 2010, 10:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •