# Clicking on a card in collection on page 2/3.. takes user back to page 1

**URL:** https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118
**Category:** Report a Bug
**Created:** [February 18, 2023, 2:35pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118 "2023-02-18T14:35:56Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![optimus\_prime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/optimus_prime/32/52962_2.png) [@optimus\_prime](https://community.glideapps.com/u/optimus_prime)
#### Post date: [February 18, 2023, 2:35pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/1 "2023-02-18T14:35:56Z")

</div>

**Describe the bug:**

- I have an app with left hand-side having card collection of customer names and right hand side having detail page for the card selected on left hand side  
 ![Screenshot 2023-02-18 at 8.01.29 PM](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/f/5fd4e4d0fb9a4b9c179b3902b4356183140c6984.png)
- I have limited the number of cards per page on left hand side to 10.
- on this list, click on page 2 or \>2
- select a card
- observe that the page is reset to page 1

**Expected behavior:**

- page should not be refreshed and only the right handside of container should refresh

**How to replicate:**

- click on page 2 or beyond
- select on any card
- see that page resets to page 1

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [February 18, 2023, 11:55pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/2 "2023-02-18T23:55:26Z")

</div>

Can you give us a link to test?

---

<div class="post-metadata">

### Author: ![optimus\_prime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/optimus_prime/32/52962_2.png) [@optimus\_prime](https://community.glideapps.com/u/optimus_prime)
#### Post date: [February 19, 2023, 10:11am UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/3 "2023-02-19T10:11:40Z")

</div>

sure - can you share your email address so I can add you to users table? thx

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [February 19, 2023, 2:44pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/4 "2023-02-19T14:44:37Z")

</div>

Please add thinh@lowcode.agency and let me know the link to access your app. Thank you!

---

<div class="post-metadata">

### Author: ![optimus\_prime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/optimus_prime/32/52962_2.png) [@optimus\_prime](https://community.glideapps.com/u/optimus_prime)
#### Post date: [February 19, 2023, 4:38pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/5 "2023-02-19T16:38:29Z")

</div>

Hi @ThinhDinh [https://test-glaw.glide.page](https://test-glaw.glide.page) have added your email to the user list. please go to the last page “history” and try selecting cards on different pages

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [February 19, 2023, 11:54pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/6 "2023-02-19T23:54:50Z")

</div>

I can reproduce the problem. What is the action tied to each item on the list?

---

<div class="post-metadata">

### Author: ![optimus\_prime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/optimus_prime/32/52962_2.png) [@optimus\_prime](https://community.glideapps.com/u/optimus_prime)
#### Post date: [February 20, 2023, 11:56am UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/7 "2023-02-20T11:56:39Z")

</div>

On click of each card, I set the value of the selected card ID in user profile. The right side of the container renders the detail page relevant for selected ID

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [February 20, 2023, 2:01pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/8 "2023-02-20T14:01:20Z")

</div>

Do you use the “selected ID” value for any configurations on the left-side collection?

---

<div class="post-metadata">

### Author: ![optimus\_prime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/optimus_prime/32/52962_2.png) [@optimus\_prime](https://community.glideapps.com/u/optimus_prime)
#### Post date: [February 20, 2023, 3:15pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/9 "2023-02-20T15:15:13Z")

</div>

No, left hand side is a collection of customers without any filters, sorted bottom up

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [February 20, 2023, 11:33pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/10 "2023-02-20T23:33:09Z")

</div>

That’s weird. I imagine your action is doing something that resets the layout of that page.

If it’s possible, can you let me view that app from the builder by inviting me to your team?

---

<div class="post-metadata">

### Author: ![NFNHello](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nfnhello/32/3371_2.png) [@NFNHello](https://community.glideapps.com/u/NFNHello)
#### Post date: [February 20, 2023, 11:43pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/11 "2023-02-20T23:43:39Z")

</div>

Maybe when the card ID value is set to the user table the page refreshes itself resetting the collection back to 1. This is just a guess based on seeing similar behavior of resetting a collection back to page 1 when a page refreshes.

---

<div class="post-metadata">

### Author: ![optimus\_prime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/optimus_prime/32/52962_2.png) [@optimus\_prime](https://community.glideapps.com/u/optimus_prime)
#### Post date: [February 21, 2023, 7:46am UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/12 "2023-02-21T07:46:38Z")

</div>

You’re right - page is refreshing, which is why the right hand-side displays updated value. But left hand side container is refreshing too. What’s more weird is that this behavior is not consistent either.

Is there a way to display updated data in the right hand-side without updating the layout of the page?

---

<div class="post-metadata">

### Author: ![NFNHello](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nfnhello/32/3371_2.png) [@NFNHello](https://community.glideapps.com/u/NFNHello)
#### Post date: [February 21, 2023, 1:15pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/13 "2023-02-21T13:15:05Z")

</div>

I don’t know of a workaround for the page refreshing. You may want to consider changing the structure of the page so that when a user clicks a record it shows details of the record in an overlay or slide in instead of on the same page side by side.

---

<div class="post-metadata">

### Author: ![optimus\_prime](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/optimus_prime/32/52962_2.png) [@optimus\_prime](https://community.glideapps.com/u/optimus_prime)
#### Post date: [February 23, 2023, 11:15am UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/14 "2023-02-23T11:15:53Z")

</div>

The behavior on clicking these cards is random too. Pages are switched quite randomly. Please find a clip attached. Is there any support person who can help here?

> **[bug.mov](https://drive.google.com/file/d/1NcZpS-2gNWSqSeyEMozL5sy4LUbSe03I/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

### Author: ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)
#### Post date: [February 23, 2023, 11:40pm UTC](https://community.glideapps.com/t/clicking-on-a-card-in-collection-on-page-2-3-takes-user-back-to-page-1/58118/15 "2023-02-23T23:40:14Z")

</div>

If this issue still persists, please get support from within Glide while the app is open by selecting the “?” button at the bottom right. That will bring you to a support page, which currently has an “Open Support Ticket” link.
