# Can't close down the poll breakdown window

**URL:** https://meta.discourse.org/t/cant-close-down-the-poll-breakdown-window/273565
**Category:** Bug
**Tags:** polls
**Created:** [August 1, 2023, 10:59pm UTC](https://meta.discourse.org/t/cant-close-down-the-poll-breakdown-window/273565 "2023-08-01T22:59:27Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [August 1, 2023, 10:59pm UTC](https://meta.discourse.org/t/cant-close-down-the-poll-breakdown-window/273565/1 "2023-08-01T22:59:27Z")

</div>

When I look at a [poll breakdown](https://meta.discourse.org/t/poll-result-breakdown/137462), there is no way to close down the window and return to the poll / post.

Instead I have to go ‘back’ on the browser and then navigate forward in order to get back to the Topic.

#### Steps to reproduce

1. Have a UCF in the `poll_groupable_user_fields` setting
2. Set up a poll and get some results
3. Click on the `Breakdown` option behind the gear icon on the post  
 ![image](https://global.discourse-cdn.com/meta/original/4X/f/5/1/f51862ae07de2c8f456912e9a03871668798fd3b.png)

The breakdowns should now show nicely (and they are super nice!), but there is no way to leave the displayed window.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [August 2, 2023, 8:17am UTC](https://meta.discourse.org/t/cant-close-down-the-poll-breakdown-window/273565/2 "2023-08-02T08:17:16Z")

</div>

I can repro the issue:

Clilcking like a madman outside the modal, pressing Esc… Won’t close the modal.

---

<div class="post-metadata">

### Author: ![cvx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cvx/32/152146_2.png) [@cvx](https://meta.discourse.org/u/cvx)
#### Post date: [August 3, 2023, 8:34am UTC](https://meta.discourse.org/t/cant-close-down-the-poll-breakdown-window/273565/5 "2023-08-03T08:34:26Z")

</div>

Thank you for the report! Fixed in [FIX: Make poll breakdown modal closable again by cvx · Pull Request #22952 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/22952)

edit: there will be a followup to address css regressions too  
edit2: those are now fixed in [FIX: Poll breakdown regressions by cvx · Pull Request #22955 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/22955)

---

<div class="post-metadata">

### Author: ![cvx](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cvx/32/152146_2.png) [@cvx](https://meta.discourse.org/u/cvx)
#### Post date: [August 4, 2023, 8:35am UTC](https://meta.discourse.org/t/cant-close-down-the-poll-breakdown-window/273565/6 "2023-08-04T08:35:28Z")

</div>

This topic was automatically closed after 24 hours. New replies are no longer allowed.
