# New Plugin - On Screen Detector

**URL:** <https://forum.bubble.io/t/new-plugin-on-screen-detector/24022>\
**Category:** Showcase\
**Created:** [February 4, 2018, 1:23am UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022 "2018-02-04T01:23:17Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dambusmedia](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@dambusmedia](https://forum.bubble.io/u/dambusmedia)\
**Post date:** [February 4, 2018, 1:23am UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/1 "2018-02-04T01:23:17Z")

</div>

Hi all, I’ve just released a new free plugin- On Screen Detector.

It lets you detect when an element of your choosing enters or exits the viewport (the user’s screen). You can use it to animate elements as the user scrolls to them, or trigger any other event you can think of. Make your landing pages look like those fancy wordpress themes 😉

Available now, check it out and let me know what you think.  
Demo here: [http://plugindemos.bubbleapps.io/version-test/onscreen](http://plugindemos.bubbleapps.io/version-test/onscreen)

---

<div class="post-metadata">

**Author:** ![luke2](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/luke2/32/256674_2.png) [@luke2](https://forum.bubble.io/u/luke2)\
**Post date:** [May 24, 2019, 2:28pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/2 "2019-05-24T14:28:56Z")

</div>

Nice work @dambusmedia

Very simple, but really helpful in some situations.

Would be awesome to have a dynamic ID if possible for the future.  
 ![image](https://us1.discourse-cdn.com/bubble/original/3X/8/5/85cdff8b996d8ec336b3ec1934ee58bd2163a933.png)

---

<div class="post-metadata">

**Author:** ![stone](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@stone](https://forum.bubble.io/u/stone)\
**Post date:** [May 24, 2019, 2:37pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/3 "2019-05-24T14:37:22Z")

</div>

I had not seen this plugin before, it’s very cool, will sure use it in the future.

Thanks @dambusmedia

---

<div class="post-metadata">

**Author:** ![lottemint.md](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lottemint.md/32/26549_2.png) [@lottemint.md](https://forum.bubble.io/u/lottemint.md)\
**Post date:** [May 24, 2019, 3:32pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/4 "2019-05-24T15:32:42Z")

</div>

Hey,  
Please check out the following plugin:  
[https://bubble.io/plugin/elements-in-view-1558712031372x698693374844338200](https://bubble.io/plugin/elements-in-view-1558712031372x698693374844338200)

It supports dynamic values. Also, you are to specify a list of ids.

I’ll create a demo with the doc soon.

For instance, if the element’s value contains the id, that means, that the element is visible on the page.

I’m using this plugin to speed up the pages.

For instance, the following page contains 4 repeating groups:  
[https://mintflow.io](https://mintflow.io)  
This plugin helps me to enable their source sequentially.

---

<div class="post-metadata">

**Author:** ![luke2](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/luke2/32/256674_2.png) [@luke2](https://forum.bubble.io/u/luke2)\
**Post date:** [May 24, 2019, 4:11pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/5 "2019-05-24T16:11:09Z")

</div>

Nice work there @lottemint.md 👍

But probably best to start a new post with the announcement, its worthy of it.

---

<div class="post-metadata">

**Author:** ![lottemint.md](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lottemint.md/32/26549_2.png) [@lottemint.md](https://forum.bubble.io/u/lottemint.md)\
**Post date:** [May 24, 2019, 4:12pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/6 "2019-05-24T16:12:58Z")

</div>

Thanks!  
Yes, you’re right. I’ll create a new topic with the announcement soon. 🙂

---

<div class="post-metadata">

**Author:** ![stone](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@stone](https://forum.bubble.io/u/stone)\
**Post date:** [May 24, 2019, 4:30pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/7 "2019-05-24T16:30:57Z")

</div>

@lottemint.md You have a really nice site, design is top notch, did you make the illustrations yourself?

I have also thought about how one could “delay” certain content from being loaded with Bubble. Similar to what bigger sites use, like Facebook, Google etc…

How much speed improvement have you noticed?

---

<div class="post-metadata">

**Author:** ![lottemint.md](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lottemint.md/32/26549_2.png) [@lottemint.md](https://forum.bubble.io/u/lottemint.md)\
**Post date:** [May 24, 2019, 7:05pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/8 "2019-05-24T19:05:12Z")

</div>

@stone, thanks for your feedback! The illustrations, icons are made by a person from my team.

> [@stone](#):
>
> How much speed improvement have you noticed?

I tested it using several devices, including the budget one. It works pretty much faster than before.

Now, after the page has been loaded I’m not pushed to wait a couple of seconds until the mobile menu will be shown by clicking on the burger. In the case, when I want to open it immediately.

Regarding PageSpeed Insights by Google  
Even a page with a single button has bad results. ☹

---

<div class="post-metadata">

**Author:** ![stone](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@stone](https://forum.bubble.io/u/stone)\
**Post date:** [May 24, 2019, 7:13pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/9 "2019-05-24T19:13:11Z")

</div>

With your plugin do you have a pixel “offset” setting?  
I’m noticing I have to wait a bit until the things load on my screen, maybe if they could start loading slightly before they are seen.

> [@lottemint.md](#):
>
> It works pretty much faster than before.

In what way does it improve speed, is it just setting the source of the repeating group?

Yeah pagespeed seems to be pretty harsh on bubble apps, most websites too, actually. I think it’s because of the initial JS and content you need to download before it starts rendering elements.

---

<div class="post-metadata">

**Author:** ![lottemint.md](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lottemint.md/32/26549_2.png) [@lottemint.md](https://forum.bubble.io/u/lottemint.md)\
**Post date:** [May 24, 2019, 7:25pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/10 "2019-05-24T19:25:01Z")

</div>

Did you mean a delay property?

> [@stone](#):
>
> In what way does it improve speed, is it just setting the source of the repeating group?

The default source of a repeating group should be empty.  
The repeating group should have the following conditional:  
If the ElementsInView’ values contains **id1** \> Data Source: Do Search for…

---

<div class="post-metadata">

**Author:** ![stone](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@stone](https://forum.bubble.io/u/stone)\
**Post date:** [May 24, 2019, 7:30pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/11 "2019-05-24T19:30:44Z")

</div>

> [@lottemint.md](#):
>
> The default source of a repeating group should be empty.  
> The repeating group should have the following conditional:  
> If the ElementsInView’ values contains **id1** \> Data Source: Do Search for…

Right, thanks.

I mean settings like the other plugin in this thread, threshold and offset.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/4/f/4f106d282172de7e8fc8fa82fb96f44b58304203.png)

Also, what does “remove elements from values” mean here?

![image](https://us1.discourse-cdn.com/bubble/original/3X/e/a/ea416c2a5e9cc397dfc481c0f8d6d70e8659836b.png)

Thanks for answering my questions.

---

<div class="post-metadata">

**Author:** ![lottemint.md](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lottemint.md/32/26549_2.png) [@lottemint.md](https://forum.bubble.io/u/lottemint.md)\
**Post date:** [May 24, 2019, 7:41pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/12 "2019-05-24T19:41:19Z")

</div>

> [@stone](#):
>
> I mean settings like the other plugin in this thread, threshold and offset.

Oh, I see. Thanks for the details. Perhaps I’ll add them in the next update.

> [@stone](#):
>
> Also, what does “remove elements from values” mean here?

If the previous elements which were in view are not in view now, then the plugin will remove them from its state.

---

<div class="post-metadata">

**Author:** ![ton.wennekendonk](https://avatars.discourse-cdn.com/v4/letter/t/e9a140/32.png) [@ton.wennekendonk](https://forum.bubble.io/u/ton.wennekendonk)\
**Post date:** [September 9, 2019, 6:08am UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/13 "2019-09-09T06:08:47Z")

</div>

Hi,

Works perfectly on desktop. However it doesn’t seem to work on mobile devices (IOS, Android). Am I missing something?

---

<div class="post-metadata">

**Author:** ![dambusmedia](https://avatars.discourse-cdn.com/v4/letter/d/4491bb/32.png) [@dambusmedia](https://forum.bubble.io/u/dambusmedia)\
**Post date:** [September 14, 2019, 12:23pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/14 "2019-09-14T12:23:55Z")

</div>

Hi Ton, I’ve just checked and it seems you’re right, it’s stopped working on mobile devices. I’ll see what I can do to fix that.

---

<div class="post-metadata">

**Author:** ![gbenchanoch](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gbenchanoch/32/105761_2.png) [@gbenchanoch](https://forum.bubble.io/u/gbenchanoch)\
**Post date:** [July 27, 2021, 6:10pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/15 "2021-07-27T18:10:41Z")

</div>

Is this plugin still functional? I’m not seeing any workflow to actually trigger something when an element is in view.

---

<div class="post-metadata">

**Author:** ![lottemint.md](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lottemint.md/32/26549_2.png) [@lottemint.md](https://forum.bubble.io/u/lottemint.md)\
**Post date:** [July 28, 2021, 2:05pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/16 "2021-07-28T14:05:04Z")

</div>

Have a look at the attached screenshot, please:

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/b/3/b39b7ad3bd347276b09d850d2a3149bddd72f3ae.png)

This plugin doesn’t trigger any events in the workflow section. You can use it via an element’s conditional section.

---

<div class="post-metadata">

**Author:** ![gbenchanoch](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/gbenchanoch/32/105761_2.png) [@gbenchanoch](https://forum.bubble.io/u/gbenchanoch)\
**Post date:** [July 28, 2021, 2:26pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/17 "2021-07-28T14:26:41Z")

</div>

Hi! Yeah I figured out how it works after a bit of fiddling. Very cool concept and very cool for speeding up page load!

---

<div class="post-metadata">

**Author:** ![lottemint.md](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/lottemint.md/32/26549_2.png) [@lottemint.md](https://forum.bubble.io/u/lottemint.md)\
**Post date:** [July 28, 2021, 2:29pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/19 "2021-07-28T14:29:18Z")

</div>

Glad to hear that you like it! 😊

---

<div class="post-metadata">

**Author:** ![guto.startera](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/guto.startera/32/96892_2.png) [@guto.startera](https://forum.bubble.io/u/guto.startera)\
**Post date:** [August 9, 2021, 5:56pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/21 "2021-08-09T17:56:34Z")

</div>

Very good!!!

---

<div class="post-metadata">

**Author:** ![lucaspenanguer](https://avatars.discourse-cdn.com/v4/letter/l/b2d939/32.png) [@lucaspenanguer](https://forum.bubble.io/u/lucaspenanguer)\
**Post date:** [August 11, 2021, 10:50pm UTC](https://forum.bubble.io/t/new-plugin-on-screen-detector/24022/22 "2021-08-11T22:50:00Z")

</div>

It is very useful and works fine.  
However, when the OnScreen detector is visible on page load, it doesn’t trigger the workflow, it only triggers the workflow when it was not on your screen at first and then enters in.  
Which is quite annoying, because the first element of my repeating group doesn’t have the workflow I set up for it :’(
