mirror of
https://github.com/overleaf/overleaf.git
synced 2024-10-17 21:05:04 -04:00
2f99e3ccf1
Fixes https://github.com/overleaf/internal/issues/18144 Browsers use a [bfcache](https://web.dev/articles/bfcache) (Back/forward cache) which restores form data on navigation. Unfortunately, it causes checkbox appearances not to respect our React states. Setting `autoComplete="off"` on checkboxes mitigates this problem. (From https://stackoverflow.com/questions/299811/why-does-the-checkbox-stay-checked-when-reloading-the-page) Another solution could be to set a `Cache-Control: no-store` header, but this might additionnal undesired consequences. GitOrigin-RevId: 7d3cceb1c818ad70de7e806ea6d714ffc8bffb4a |
||
---|---|---|
.. | ||
states | ||
action-button-text.tsx | ||
contact-support-for-custom-subscription.tsx | ||
free-plan.tsx | ||
generic-error-alert.tsx | ||
group-settings-button.tsx | ||
group-subscription-membership.tsx | ||
group-subscription-memberships.tsx | ||
institution-memberships.tsx | ||
leave-group-modal.tsx | ||
managed-group-subscriptions.tsx | ||
managed-institution.tsx | ||
managed-institutions.tsx | ||
managed-publisher.tsx | ||
managed-publishers.tsx | ||
personal-subscription-recurly-sync-email.tsx | ||
personal-subscription.tsx | ||
premium-features-link.tsx | ||
reactivate-subscription.tsx | ||
root.tsx | ||
row-link.tsx | ||
subscription-dashboard.tsx |