Topener / nl.fokkezb.pullToRefresh

Widget to implement a table pull-to-refresh header in Titanium Alloy
184 stars 60 forks source link

TableView disappears when added to ScrollableView #41

Closed kilikdudu closed 9 years ago

kilikdudu commented 9 years ago

If I go to the third page and return to the first , the list disappears. HELP ME!

<Alloy>
    <Window class="container">
        <ScrollableView class="container">
            <View class="container">
                <Widget id="ptr" src="nl.fokkezb.pullToRefresh" onRelease="myRefresher">
                    <TableView class="container">
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                        <TableViewRow title="Testing pullToRefresh" />
                    </TableView>
                </Widget>
            </View>
            <View class="container">
                <Label>Testing second view</Label>
            </View>
            <View class="container">
                <Label>Testing third view</Label>
            </View>
        </ScrollableView>
    </Window>
</Alloy>
dpz3579 commented 9 years ago

hey i'm also facing exactly the same issue did you get the solution, as you have marked this as closed. please help me out...

thankz...

FokkeZB commented 9 years ago

I could not reproduce this with Ti 4.1.1.GA on iOS Simulator 8.4 (only removed the onRelease attribute).