segmentio / consent-manager

Drop-in consent management plugin for analytics.js
https://segmentio.github.io/consent-manager/
MIT License
340 stars 142 forks source link

`shouldReload` is ignored sometimes #335

Open dzucconi opened 1 year ago

dzucconi commented 1 year ago

I'd like to manually control reload so that I can do some housekeeping after preferences are saved. However sometimes this argument is just ignored.

https://github.com/segmentio/consent-manager/blob/12ddada025132165d7f9c89740eab1278eaa34b0/src/consent-manager-builder/index.tsx#L342-L348

edsonjab commented 1 year ago

Hi @dzucconi could you help us to explain: what framework and what version are you using? What version of Consent-manager?