After opening the cookie banner using the "Show Preferences" or "Show Cookie Banner" button, the page should stay in its current scroll position when the user accepts or rejects the cookies.
Current Behavior
The page unexpectedly jumps back to the position of the "Show Preferences" or "Show Cookie Banner" button, which disrupts the user experience. This issue does not occur in Safari.
Expected Behavior
After opening the cookie banner using the "Show Preferences" or "Show Cookie Banner" button, the page should stay in its current scroll position when the user accepts or rejects the cookies.
Current Behavior
The page unexpectedly jumps back to the position of the "Show Preferences" or "Show Cookie Banner" button, which disrupts the user experience. This issue does not occur in Safari.
Steps to reproduce
On the CookieConsent v3.0.1 Playground :
Proposed fix or additional info.
Maybe a config option for this?
Version
3.0.1
On which browser do you see the issue?
Firefox, Chrome, Microsoft Edge