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

Reopen Notice dialog using orejime.show() when mustNotice is true #80

Open
gtnsimon opened this issue Jan 12, 2022 · 0 comments · May be fixed by #81
Open

Reopen Notice dialog using orejime.show() when mustNotice is true #80

gtnsimon opened this issue Jan 12, 2022 · 0 comments · May be fixed by #81

Comments

@gtnsimon
Copy link
Contributor

It is possible to reopen orejime consent screen using orejime.show() which opens ConsentModal component:

Show component look

image

In code mustNotice acts only for mandatory ConsentNotice display. On first visit (orejime cookie not yet exists) user is displayed a large Notice screen on top of app content:

image

When user give its consent the Notice disappear but it can never be reopened manually using orejime.show().

Motivations

I've customized how orejime looks like on websites I work on. Notice is not a small banner at the bottom of the screen but a large fullscreen dialog. I give to users the ability to update their consent by clicking a button on a page but I would like to reopen the Notice screen in first place and not the toggleable apps list which is not revelant to me because I've decide to display a mandatory Notice using mustNotice: true.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant