# Popup behavior scroll and data

**URL:** <https://forum.bubble.io/t/popup-behavior-scroll-and-data/137628>\
**Category:** Need help\
**Created:** [February 23, 2021, 12:05am UTC](https://forum.bubble.io/t/popup-behavior-scroll-and-data/137628 "2021-02-23T00:05:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![alexandre.boulme](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/alexandre.boulme/32/73370_2.png) [@alexandre.boulme](https://forum.bubble.io/u/alexandre.boulme)\
**Post date:** [February 23, 2021, 12:05am UTC](https://forum.bubble.io/t/popup-behavior-scroll-and-data/137628/1 "2021-02-23T00:05:06Z")

</div>

Hi,

I’m using a popup to display meal details : picture + recipe. The popup can display different a specific meal when the user clic on a repeating group cell.

I have 2 issues with my pop-up :

- When I open the popup, scroll and close it. The scrolll is kept in memory when opening a second meal, I would like to have it reset (or scrolled to top). Is there any way to do this ?
- When the popup is hiden I reset the group data and display new data on opening of a new meal. But there is still a short moment when I see the previous text before loading the new one causing a weir behavior on the screen. Is there any way to avoid this ?

Thanks for your help !

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [February 23, 2021, 12:20am UTC](https://forum.bubble.io/t/popup-behavior-scroll-and-data/137628/2 "2021-02-23T00:20:21Z")

</div>

Hello!

It seems you have a repeating group set to exit vertical scroll in your popup.

Consider changing the rg to another setting like full list (it would seem that the results in a popup might just be very few right?)

Also, consider always emptying the popup first with an empty display action and immediately after a second display action with the actual data. It is a better practice to front load actions.

Hope this helps 👍🏻

---

<div class="post-metadata">

**Author:** ![Christophe\_HK](https://avatars.discourse-cdn.com/v4/letter/c/d78d45/32.png) [@Christophe\_HK](https://forum.bubble.io/u/Christophe_HK)\
**Post date:** [March 12, 2021, 12:28pm UTC](https://forum.bubble.io/t/popup-behavior-scroll-and-data/137628/3 "2021-03-12T12:28:18Z")

</div>

Good point @cmarchan regarding the empty display. I also often have little issues with pop-ups, keeping data in mind, but I never thank about an empty display. What I do is to resort the pop-up than reset all “data” group within this pop-up, a bit unproductive. I’m going to send empty states now.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [May 4, 2021, 12:05am UTC](https://forum.bubble.io/t/popup-behavior-scroll-and-data/137628/4 "2021-05-04T00:05:45Z")

</div>

This topic was automatically closed after 70 days. New replies are no longer allowed.
