# PageControl doesn't work inside \<Each\>

**URL:** <https://forums.fusetools.com/t/pagecontrol-doesnt-work-inside-each/1593>\
**Category:** Bug Reports\
**Created:** [June 30, 2016, 8:03pm UTC](https://forums.fusetools.com/t/pagecontrol-doesnt-work-inside-each/1593 "2016-06-30T20:03:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fahad](https://avatars.discourse-cdn.com/v4/letter/f/ecccb3/32.png) [@Fahad](https://forums.fusetools.com/u/Fahad)\
**Post date:** [June 30, 2016, 8:03pm UTC](https://forums.fusetools.com/t/pagecontrol-doesnt-work-inside-each/1593/1 "2016-06-30T20:03:52Z")

</div>

Test case:

```auto
<App>
    <JavaScript>
        var Observable = require("FuseJS/Observable");

        var myList = Observable("this", "is", "a", "test");

        module.exports = {
            myList: myList
        }
    </JavaScript>
    <StackPanel Background="#000">
        <Each Items="{myList}">
            <Panel Margin="10" Height="75" Visibility="Visible" HitTestMode="LocalVisualAndChildren">
                <PageControl Active="contents">
                    <Page Background="#FFF">
                    </Page>

                    <Page Background="#FFF" Name="contents">
                        <Text Value="{}" FontSize="15" />

                    </Page>

                    <Page Background="#FFF">
                    </Page>
                </PageControl>
            </Panel>
        </Each>
    </StackPanel>

</App>

```

So everything displays correctly but it won’t swipe at all, or have a hitbox of any kind, even in design view you can’t select it.

IMPORTANT: if you remove `<Each>` and just make one hard-coded instance in the UX, it’ll work. What?

---

<div class="post-metadata">

**Author:** ![edA-qa\_mort-ora-y](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/eda-qa_mort-ora-y/32/124_2.png) [@edA-qa\_mort-ora-y](https://forums.fusetools.com/u/edA-qa_mort-ora-y)\
**Post date:** [July 1, 2016, 9:03am UTC](https://forums.fusetools.com/t/pagecontrol-doesnt-work-inside-each/1593/2 "2016-07-01T09:03:58Z")

</div>

I’ve just tested this on the currnent internal version and it works. I fixed an issue relating to dynamic nodes and hit testing, it’s possibly what causes this problem as well.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [July 8, 2016, 1:52pm UTC](https://forums.fusetools.com/t/pagecontrol-doesnt-work-inside-each/1593/3 "2016-07-08T13:52:01Z")

</div>

This release is now available on #pre-release-testing in the community Slack if you want to give it a try.
