Expected Behavior
Despite consent cookies have been accepted or accepted partially, when new categories or services appear, consent manager banner should appear.
My particular example with expected behavior covers the case, when categories are managed by external system. So developer installs the script only once:

Current Behavior
Despite consent cookies have been accepted or accepted partially, when new categories or services appear, consent manager banner does not appear.
Steps to reproduce
- set up basic
Consent.Manager with some categories, services.
- accept preferences.
- add new category or service.
- reload the page.
- you'll see new categories automatically populated to
rejectedCategories, new services in rejectedServices.
Proposed fix or additional info.
Instead of returning anything that is out of acceptedCategories (ref)
manage rejectedCategories in the same way as acceptedCategories by storing them in the cookies.
Could be possible to be done in 2 ways:
- keep within the same array with status
0 as denied or 1 as accepted
- keep separate arrays.
Same for services. Ref
Version
3.1.0
On which browser do you see the issue?
Chrome
Expected Behavior
Despite consent cookies have been accepted or accepted partially, when new categories or services appear, consent manager banner should appear.
My particular example with expected behavior covers the case, when categories are managed by external system. So developer installs the script only once:
Current Behavior
Despite consent cookies have been accepted or accepted partially, when new categories or services appear, consent manager banner does not appear.
Steps to reproduce
Consent.Managerwith some categories, services.rejectedCategories, new services inrejectedServices.Proposed fix or additional info.
Instead of returning anything that is out of
acceptedCategories(ref)manage
rejectedCategoriesin the same way asacceptedCategoriesby storing them in the cookies.Could be possible to be done in 2 ways:
0asdeniedor1asacceptedSame for services. Ref
Version
3.1.0
On which browser do you see the issue?
Chrome