dargmuesli / nuxt-cookie-control

A highly configurable cookie banner for Nuxt.
MIT License
229 stars 43 forks source link

isConsentGiven still false after accept necessary is clicked #183

Closed hunyan-io closed 8 months ago

hunyan-io commented 8 months ago

Environment

Reproduction

The issue can be reproduced in the existing reproduction template ( https://stackblitz.com/github/dargmuesli/nuxt-cookie-control?file=playground%2Fapp.vue )

Describe the bug

Click "Customize" -> Click "Decline All" (accept necessary) Expected behavior: isConsentGiven is set to true, cookie bar is dismissed Actual behavior: isConsentGiven still false, cookie bar still there

I hope the actual behavior is not the intended one. It doesn't make sense as I can't dismiss the cookie bar by accepting necessary cookies only. I'm willing to open a PR once it's confirmed this is not intentional

Additional context

No response

Logs

No response

dargmuesli commented 8 months ago

This is already tracked in https://github.com/dargmuesli/nuxt-cookie-control/issues/131, a PR as described there is welcome!