[openstreetmap/openstreetmap-website] Pressing the close button on a banner, page reload required to hide it (Issue #7079)

Daniele Santini notifications at github.com
Sun May 10 11:26:10 UTC 2026


Danysan1 created an issue (openstreetmap/openstreetmap-website#7079)

### URL

https://www.openstreetmap.org/

### How to reproduce the issue?

1. Open https://www.openstreetmap.org/ with an active banner
2. Click on the close button on the banner
3. You would expect the banner to hide (and in fact `display: none` is applied on the banner) but in practice it remains open (because a previous `display: block !important` gets precedence). The banner is hidden only if you reload the page 



### Screenshot(s) or anything else?

This problem has been noticed by the italian community which [has currently one banner active](https://github.com/openstreetmap/openstreetmap-website/blob/master/config/banners.yml):
<img width="1656" height="1060" alt="Image" src="https://github.com/user-attachments/assets/a9124799-539b-400e-95c6-f49eba36399a" />

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/7079
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/7079 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260510/da41d9b1/attachment.htm>


More information about the rails-dev mailing list