Skip to content

Conversation

@dersimoezdag
Copy link
Contributor

This enables the user to prevent scrolling in background of the klaro modal.
CSS:

body.modal-open { overflow: hidden; padding-right: var(--scrollbar-width); }

@adewes
Copy link
Member

adewes commented Nov 9, 2021

Thanks again, very useful!

@adewes
Copy link
Member

adewes commented Nov 9, 2021

I'll have to merge this manually as there are some conflicts.

@dersimoezdag
Copy link
Contributor Author

@adewes i've resolved the conflicts :)

@klfman
Copy link

klfman commented Jun 3, 2022

Would be happy to see this merged, we discussed about the same feature yesterday

@JeanCarriere
Copy link

up

@Jako
Copy link
Contributor

Jako commented Mar 7, 2024

@adewes this seems not to be merged into the current release. It would be great to see this happen.

Jako added a commit to Jako/klaro-js that referenced this pull request Dec 16, 2025
Jako added a commit to Jako/klaro-js that referenced this pull request Dec 16, 2025
* modal-open-class:
  Rebase kiprotect#403 now sets klaro-modal-open to body klaro-modal is open
Jako added a commit to Jako/klaro-js that referenced this pull request Dec 16, 2025
Jako added a commit to Jako/klaro-js that referenced this pull request Dec 16, 2025
* modal-open-class:
  Rebase kiprotect#403 now sets klaro-modal-open to body klaro-modal is open
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 this pull request may close these issues.

5 participants