Harborn-digital / cookie-consent-bundle

Symfony bundle to append Cookie Consent to your website to comply to AVG/GDPR for cookies.
MIT License
19 stars 18 forks source link

Form closes after response received - should be on button click #62

Open sigma-technology opened 4 years ago

sigma-technology commented 4 years ago

Firstly, thank you for this excellent bundle.

Just a suggestion for a potential improvement - I've noticed that when running Symfony in dev mode, the form can take a few seconds to disappear because it seems to be waiting for the response from the endpoint (would be the same on a slow connection). It would probably be better for the form to disappear as soon as the Save / Accept All / Functional Only buttons are clicked.

It could reappear if it's failed for some reason, although if it has failed to save then the site has bigger issues than cookie permission :-)