klaro-js
klaro-js copied to clipboard
now sets klaro-modal-open to body klaro-modal is open
trafficstars
This enables the user to prevent scrolling in background of the klaro modal. CSS:
body.modal-open { overflow: hidden; padding-right: var(--scrollbar-width); }
Thanks again, very useful!
I'll have to merge this manually as there are some conflicts.
@adewes i've resolved the conflicts :)
Would be happy to see this merged, we discussed about the same feature yesterday
up
@adewes this seems not to be merged into the current release. It would be great to see this happen.