static icon indicating copy to clipboard operation
static copied to clipboard

Banner 'hide message' does not work if opted out from tracking.

Open NickColley opened this issue 5 years ago • 1 comments

Steps to reproduce:

  1. Go to https://www.gov.uk/help/cookies
  2. Set all options to 'off'
  3. Submit
  4. Press 'hide message' in banner

Expected

Banner to not appear again, or banner not to be there in the first place

Actual

Banner does not hide between page navigations.

Screenshot 2020-02-12 at 16 16 55

This might impact other banner like things like surveys too.

NickColley avatar Feb 12 '20 16:02 NickColley

https://github.com/alphagov/static/blob/7eda1a63403a9dab899bc8340fa4418dde08f88f/app/assets/javascripts/global-bar-init.js#L89

chao-xian avatar Apr 13 '23 14:04 chao-xian