shinobukawano / Ext.ux.AccordionList

Accordion List Component for Sencha Touch 2
http://kawanoshinobu.com/public/demo/accordionlist/
50 stars 28 forks source link

Scrollable problem #6

Closed Nomaq closed 11 years ago

Nomaq commented 11 years ago

The scrollable: false property is not working in your list, the priblem with that is that the scrollable of the page and the list makes the user expericence akward

shinobukawano commented 11 years ago

Would you want to disable list's scrollable? If so, please use "listScrollable" config and set false.

like this:

{
    xtype: 'accordionlist',
    store: Ext.create('AccordionListExample.store.Task'),
    flex: 1,
    itemId: 'task',
    listeners: {
        initialize: function() {
            this.load();
        }
    },
    listScrollable: false
}

Please try it.

Nomaq commented 11 years ago

Thankyou for your quick response great plugin!

Do you have some documentation for configs of the plugin? Also the height:'auto' atribute does not work the list just dont shows if i want the height to update automaticly any ideas?

Nomaq commented 11 years ago

I tried the listScrollable: false property but the scrollable is still working

shinobukawano commented 11 years ago

Do you have some documentation for configs of the plugin?

Yeah, I created the document few days ago:

http://docs.kawanoshinobu.com/touch/#!/api/Ext.ux.AccordionList

if i want the height to update automaticly any ideas?

Did you try "flex" config? Maybe it would be work well, I think.

I tried the listScrollable: false property but the scrollable is still working

Could you able to share for me sample project which has this problem?

Nomaq commented 11 years ago

I created a repo with an extract of a view where i use your list component since it is used in a smartphone the list must have the scrollable:false and height auto because you must scroll down in order to see the list here is the link thank for your time and response

https://github.com/ctxdl/accordionlistexample

shinobukawano commented 11 years ago

Wow, Thanks! I'll check it.

shinobukawano commented 11 years ago

https://github.com/ctxdl/accordionlistexample

I changed it to work well and sent you the pull request. Please check it :)

Nomaq commented 11 years ago

Its working great thanks :)

shinobukawano commented 11 years ago

I'm glad to hear that! If you have any question, feel free to ask me ;)

Thanks.