# Canvas: Dropdown filter not updating elements without page reload

**URL:** <https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021>\
**Category:** Kibana\
**Tags:** canvas\
**Created:** [June 17, 2019, 8:56am UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021 "2019-06-17T08:56:51Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yoann\_Toussaint](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoann_toussaint/32/41998_2.png) [@Yoann\_Toussaint](https://discuss.elastic.co/u/Yoann_Toussaint)\
**Post date:** [June 17, 2019, 8:56am UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/1 "2019-06-17T08:56:51Z")

</div>

Hello there,  
I am using 3 dropdown filters scattered on 4 pages. Selecting one filter updates the elements inside the workpad but sometimes after switching from one page to another selecting one dropdown filter does not UPDATE elements in the workpad without reloading the page. Of course I tried to disable the cache in my browser (I tried with Firefox and Chromium).

The error happens this way: I select filters on the first page, it works (at the top of the browser I can see a thin update animation showing a value was selected), then I navigate inside the workpad, select a value in a dropdown, I can see the update animation on the top of the browser BUT elements are not updated. Only reloading the page makes it working.

I am not sure if this is a bug coming from my workpad or from Kibana (I am using version 7.1.1). I tried making a similar workpad and the bug still appears.

 ![page1](https://us1.discourse-cdn.com/elastic/original/3X/4/c/4c4f35deca728f807dc939c98cd6c0f7bc422d5d.png)  
 ![page3](https://us1.discourse-cdn.com/elastic/original/3X/8/2/829760a4e88b1940c0b0c88ef6c1131f52c381a2.png)

---

<div class="post-metadata">

**Author:** ![ppisljar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ppisljar/32/11588_2.png) [@ppisljar](https://discuss.elastic.co/u/ppisljar)\
**Post date:** [June 17, 2019, 10:19am UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/2 "2019-06-17T10:19:15Z")

</div>

could you provide more information about your workpad?  
could someone from canvas team take a look @monfera?

---

<div class="post-metadata">

**Author:** ![Yoann\_Toussaint](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoann_toussaint/32/41998_2.png) [@Yoann\_Toussaint](https://discuss.elastic.co/u/Yoann_Toussaint)\
**Post date:** [June 17, 2019, 1:11pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/3 "2019-06-17T13:11:22Z")

</div>

After a bit of thought I decided that my workpad is too complicated with 4 pages and 3 dropdown filters. I will split it in three workpads, one for every use case. We'll see.

---

<div class="post-metadata">

**Author:** ![tims](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tims/32/46750_2.png) [@tims](https://discuss.elastic.co/u/tims)\
**Post date:** [June 17, 2019, 2:40pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/4 "2019-06-17T14:40:09Z")

</div>

@Yoann_Toussaint let us know if you are still encountering issues after you split it up, we may need to file a bug report.

---

<div class="post-metadata">

**Author:** ![Yoann\_Toussaint](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoann_toussaint/32/41998_2.png) [@Yoann\_Toussaint](https://discuss.elastic.co/u/Yoann_Toussaint)\
**Post date:** [June 18, 2019, 1:16pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/5 "2019-06-18T13:16:21Z")

</div>

I am sorry but I still encounter the bug after I split it up and cleaned everything.

Bug is:

I have multiple dropdown filters on multiple pages in my workpad, I make some selections on the first page, but after going back and forth in the pages, some dropdown filters (on the second page) are not updating the canvas as they should (however I can see the thin update animation at the top of the browser). Only reloading the page (F5) makes the update working.  
Browsers are Chromium 74 and firefox 67  
Cache is disabled

---

<div class="post-metadata">

**Author:** ![Yoann\_Toussaint](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoann_toussaint/32/41998_2.png) [@Yoann\_Toussaint](https://discuss.elastic.co/u/Yoann_Toussaint)\
**Post date:** [July 2, 2019, 2:29pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/6 "2019-07-02T14:29:17Z")

</div>

Hi Tim, thank you for your answer. As with Kibana version 7.2, the bug is still there. Can you tell me how to file a bug report ?

---

<div class="post-metadata">

**Author:** ![tims](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tims/32/46750_2.png) [@tims](https://discuss.elastic.co/u/tims)\
**Post date:** [July 2, 2019, 2:37pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/7 "2019-07-02T14:37:21Z")

</div>

Hi @Yoann_Toussaint, you can file a bug report by creating an issue against the Kibana repository in github. Make sure to add the Team:Canvas label so the Canvas team will get pinged for it.

> **[Build software better, together](https://github.com/login?return_to=https%253A%252F%252Fgithub.com%252Felastic%252Fkibana%252Fissues%252Fnew%252Fchoose)**
>
> GitHub is where people build software. More than 36 million people use GitHub to discover, fork, and contribute to over 100 million projects.

---

<div class="post-metadata">

**Author:** ![Yoann\_Toussaint](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoann_toussaint/32/41998_2.png) [@Yoann\_Toussaint](https://discuss.elastic.co/u/Yoann_Toussaint)\
**Post date:** [July 2, 2019, 3:27pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/8 "2019-07-02T15:27:15Z")

</div>

Thank you team. I created the issue: [https://github.com/elastic/kibana/issues/40161](https://github.com/elastic/kibana/issues/40161)  
However as I am not a contributor I don't think I can assign a label to this issue.  
Thanks

---

<div class="post-metadata">

**Author:** ![tims](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tims/32/46750_2.png) [@tims](https://discuss.elastic.co/u/tims)\
**Post date:** [July 2, 2019, 3:39pm UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/9 "2019-07-02T15:39:35Z")

</div>

Thanks @Yoann_Toussaint, I attached the label.

---

<div class="post-metadata">

**Author:** ![Yoann\_Toussaint](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yoann_toussaint/32/41998_2.png) [@Yoann\_Toussaint](https://discuss.elastic.co/u/Yoann_Toussaint)\
**Post date:** [July 19, 2019, 7:01am UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/10 "2019-07-19T07:01:10Z")

</div>

I found the issue. I just had too many open scroll context. I configured my elasticsearch with:

search.max\_scroll\_context: 3000

But more importantly my SQL requests returns only what is needed for the visualizations and not the whole data sets. That was the key. I will close the issue on Kibana.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 16, 2019, 7:01am UTC](https://discuss.elastic.co/t/canvas-dropdown-filter-not-updating-elements-without-page-reload/186021/11 "2019-08-16T07:01:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
