Skip to content

[Bug]: When loaded within an iframe the cookie settings are not stored #766

@joshf

Description

@joshf

Expected Behavior

When the plugin loaded in an iframe the settings should be stored.

Current Behavior

When you use the plugin on a page which is loaded in an iframe, the settings are not stored so the prompt show every time

Steps to reproduce

https://codesandbox.io/p/sandbox/rjk9n4zj7m (https://kp3d29.csb.app/)

it is embedding this one:

https://codesandbox.io/p/sandbox/334dh4

Proposed fix or additional info.

No response

Version

3.0.1

On which browser do you see the issue?

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions