I'm making a website, and to change the background color for different themes, I'm using the backdrop-filter: hue-rotate(180deg) filter. Now, for some reason, when I try to have the filter turned on, then click a button to go to a different page in the website, filter doesn't work on the next page, toggling the filter doesn't do anything, but reloading the page seems to fix it.
The localStorage seems to be working correctly, and so I switched out the filter for a solid black element that changes it's opacity, and it worked fine, so i've determined that the issue is with the filter itself, anyone know what I can do about it?
not sure what key lines of code I would need to show, so here's the site if you need it: