1. #1
    Sencha User
    Join Date
    Oct 2010
    Posts
    2
    Vote Rating
    0
    joemacstevens is on a distinguished road

      0  

    Default Overflow auto or scroll for divs inside Sencha Touch panel

    Overflow auto or scroll for divs inside Sencha Touch panel


    The new IOS update supports overflow: scroll.
    I've been trying to implement this in Sencha Touch using the following css

    #selected_plan {
    width: 75%;
    float: left;
    height: 540px;
    overflow-y: scroll;
    overflow-x: hidden;
    background-color: #ccc;
    -webkit-overflow-scrolling: touch;

    }

    but it does not work.
    To test, I built a version of my content outside of Sencha Touch. This div in this version scrolls as expected.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,621
    Vote Rating
    434
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    I would think the Scroller class is conflicting with this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Oct 2010
    Posts
    2
    Vote Rating
    0
    joemacstevens is on a distinguished road

      0  

    Default


    Thanks,

    I suspected that, but I'm not using the Scroller class on this element. However, there are other places within the app where it might be used. Is there a way for me to disable the Scroller class on specific elements?

Tags for this Thread