When clicking this button initially, it works well and opens the modal. Once, user switches language (I use the following library - https://next-intl-docs.vercel.app/), clicking button does not open the modal. But once user refreshes the browser, it starts working again (the modal opens, using newly selected language)
Expected Behavior
Calling showPreferences method does not open preferences modal.
Current Behavior
` <button type="button" data-cc="show-preferencesModal" className="text-sm md:mt-0 mt-6 text-center" aria-label="Open Cookie Consent Preferences"
When clicking this button initially, it works well and opens the modal. Once, user switches language (I use the following library - https://next-intl-docs.vercel.app/), clicking button does not open the modal. But once user refreshes the browser, it starts working again (the modal opens, using newly selected language)
Steps to reproduce
Proposed fix or additional info.
No response
Version
3.0.1
On which browser do you see the issue?
Firefox, Chrome, Safari, Microsoft Edge