# Ticker not running when component is hidden

**URL:** <https://cl.desmos.com/t/ticker-not-running-when-component-is-hidden/4177>\
**Category:** Bug Reports\
**Created:** [March 23, 2022, 6:56pm UTC](https://cl.desmos.com/t/ticker-not-running-when-component-is-hidden/4177 "2022-03-23T18:56:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bryan\_Gregory](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/bryan_gregory/32/2029_2.png) [@Bryan\_Gregory](https://cl.desmos.com/u/Bryan_Gregory)\
**Post date:** [March 23, 2022, 6:56pm UTC](https://cl.desmos.com/t/ticker-not-running-when-component-is-hidden/4177/1 "2022-03-23T18:56:01Z")

</div>

Hi There,

I was playing around with using the ticker and the random() function in the calculator as a means of generating random numbers and noticed that the ticker does not run when the graph component is hidden.

The relevant slides are linked below. If you hit the “new question” button on the first slide, you’ll notice that the coefficients/constants change. On the second slide where the graph is hidden, the numbers remain static.

Here’s the link to the page, dashboard, or activity:

> **[Ticker Not Running Example • Activity Builder by Desmos](https://teacher.desmos.com/activitybuilder/custom/623b6c24d103de31f96dc7b2)**
>
> by Brian Savoie

---

<div class="post-metadata">

**Author:** ![Bryan\_Gregory](https://yyz1.discourse-cdn.com/flex031/user_avatar/cl.desmos.com/bryan_gregory/32/2029_2.png) [@Bryan\_Gregory](https://cl.desmos.com/u/Bryan_Gregory)\
**Post date:** [April 2, 2022, 4:22pm UTC](https://cl.desmos.com/t/ticker-not-running-when-component-is-hidden/4177/2 "2022-04-02T16:22:37Z")

</div>

update: I found a workaround by converting the graph to a sketch and just hiding everything (grid etc) and using it as a “scratch work” space for students with tablets.

Although I now notice when I click away from the page and click back, the ticker “catches up” with itself and goes through all the values that were missed while on another screen. In other words, still buggy!

B
