Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue with technically required cookies only button doesn't unset other cookies #3

Closed
manucoffin opened this issue Jan 16, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@manucoffin
Copy link

Node/npm version(s):
Node: 14.18.0
npm: 6.14.15

Package(s) version(s):

    @porscheofficial/cookie-consent-banner@2.1.0
    @porscheofficial/cookie-consent-banner-react@2.1.0

Browser(s) version(s):
Google Chrome: 97.0.4692.71

Description of the issue/feature:
When accepting all the cookies, then showing the banner again, and clicking on "Continue with technically required cookies only", all the cookies previously set are still set.

For example, on my first visit, I select marketing cookies, and save my preferences. Then, I want to update my choices, so I show the banner, I click on "Continue with technically required cookies only", but the marketing cookies are still set.

Some example to reproduce the issue:
https://codesandbox.io/s/issue-cookie-consent-banner-g48uu

Steps to reproduce the issue:

  • Click "Agree and continue" to select all the cookie types
  • Click on "Show Cookies Banner" button to show the banner
  • Click "Continue with technically required cookies only"
  • The optional cookies are still set
@pboeder pboeder added the bug Something isn't working label Jan 16, 2022
@pboeder pboeder self-assigned this Jan 16, 2022
@pboeder
Copy link
Member

pboeder commented Jan 17, 2022

Hi @manucoffin! Thanks for reporting.
Should be fixed with v2.1.1, can you confirm that?

@manucoffin
Copy link
Author

It works perfectly, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants