dargmuesli / nuxt-cookie-control

A highly configurable cookie banner for Nuxt.
MIT License
231 stars 45 forks source link

fix(component): cookie toggles do not show the correct state when `isIframeBlocked` is enabled #115

Closed StefanFlaschko closed 1 year ago

StefanFlaschko commented 1 year ago

Environment

It was tested in the playground of the repo.

Reproduction

It was tested in the playground of the repo.

Describe the bug

When Setting the toggle for optional cookies to disable and reloading the page, the toggle still shows active. What I also recognized is that the values inside the cookie: 'ncc_c' are not using any separators. (intentional ?)

Video: https://github.com/dargmuesli/nuxt-cookie-control/assets/60323626/3f799f5a-59b7-497d-9a7c-3b132b443126

Additional context

No response

Logs

No response

dargmuesli commented 1 year ago

Thank you for mentioning this case! The fix should be released shortly.