yaiks / vue-cookie-comply

A Vue 3 compatible component to handle cookie consent
MIT License
69 stars 17 forks source link

[Fix]: Change global position modal to fixed #14

Open vmunozre opened 1 year ago

vmunozre commented 1 year ago

Hi, I was using your library and ran into a problem. I have solved it in my personal project, but so that more people can benefit from it I open this pull request. I hope not to bother you 🙏 .

Problem detected When you scroll on a web with a higher height than the screen the cookie warning modal does not stay at the bottom.

Screenshot normal modal:

image

Screenshot settings modal:

image

Proposed solution Change the position from absolute to fixed at main class .cookie-comply and at .cookie-comply__modal.