overleaf/services/web/frontend/js/features/project-list/components
Antoine Clausse 2f99e3ccf1 Add autoComplete="off" to React-controlled checkboxes (#18212)
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
2024-05-06 08:04:39 +00:00
..
color-picker [web] Add custom focus style for the color picker on Firefox and Safari (#16192) 2023-12-19 09:04:16 +00:00
current-plan-widget Merge pull request #15798 from overleaf/mj-features-page-teardown 2023-11-21 09:04:03 +00:00
dropdown Merge pull request #17691 from overleaf/ii-copy-project-mobile 2024-04-04 08:04:20 +00:00
modals Store selected project ids separately (#15598) 2024-01-29 09:03:07 +00:00
new-project-button Merge pull request #16511 from overleaf/ae-upgrade-uppy 2024-01-19 09:05:05 +00:00
notifications Merge pull request #18159 from overleaf/jel-group-invite-header 2024-05-02 08:03:52 +00:00
sidebar [web] Tags/color picker tweaks (#12595) 2023-04-13 08:04:37 +00:00
sort Merge pull request #9700 from overleaf/ii-dashboard-mobile-view 2022-09-26 08:04:38 +00:00
table Add autoComplete="off" to React-controlled checkboxes (#18212) 2024-05-06 08:04:39 +00:00
title Merge pull request #12851 from overleaf/jk-dashboard-filter-visibility 2023-05-17 08:03:39 +00:00
welcome-message-new Merge pull request #17450 from overleaf/msm-fix-sp-welcome-page 2024-03-07 16:30:42 +00:00
add-affiliation.tsx Implement 'Add Affiliation' UI on the mobile version of the new react dashboard (#11606) 2023-02-08 09:07:23 +00:00
load-more.tsx Merge pull request #10467 from overleaf/ds-btn-info-new-css-part-2 2022-11-18 09:05:51 +00:00
new-project-button.tsx Implement new welcome page UI with split test (#11677) 2023-06-01 08:05:01 +00:00
project-list-root.tsx [web] Paywall CTA split-test (#17555) 2024-04-03 08:04:16 +00:00
projects-filter-menu.ts Merge pull request #9700 from overleaf/ii-dashboard-mobile-view 2022-09-26 08:04:38 +00:00
search-form.tsx Merge pull request #15844 from overleaf/jpa-download-events 2023-11-27 09:04:08 +00:00
survey-widget.tsx fixing white color of x button (#16100) 2023-12-08 09:04:11 +00:00
tags-list.tsx Merge pull request #12374 from overleaf/ab-rename-folders-tags 2023-04-13 08:04:20 +00:00
welcome-message.tsx Merge pull request #17450 from overleaf/msm-fix-sp-welcome-page 2024-03-07 16:30:42 +00:00