π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Disable ripple on checkboxes
Manav Rathifdd7f20518f7
diff --git a/web/apps/photos/src/components/DeleteAccountModal.tsx b/web/apps/photos/src/components/DeleteAccountModal.tsxindex f1ba6de032..471a246283 100644--- a/web/apps/photos/src/components/DeleteAccountModal.tsx+++ b/web/apps/photos/src/components/DeleteAccountModal.tsx@@ -272,7 +272,6 @@ const ConfirmationCheckboxInput: React.FC<ConfirmationCheckboxInputProps> = ({control={<Checkboxsize="small"- disableRipplechecked={checked}onChange={(e) => onChange(e.target.checked)}/>diff --git a/web/apps/photos/src/components/PhotoList/index.tsx b/web/apps/photos/src/components/PhotoList/index.tsxindex db67a080f6..cf7c74737b 100644--- a/web/apps/photos/src/components/PhotoList/index.tsx+++ b/web/apps/photos/src/components/PhotoList/index.tsx@@ -820,7 +820,6 @@ export function PhotoList({}size="small"sx={{ pl: 0 }}- disableRipple={true}/>)}{item.date}@@ -840,7 +839,6 @@ export function PhotoList({}size="small"sx={{ pl: 0 }}- disableRipple={true}/>)}{listItem.date}diff --git a/web/packages/base/components/utils/theme.ts b/web/packages/base/components/utils/theme.tsindex c76c222eca..1a70558a00 100644--- a/web/packages/base/components/utils/theme.ts+++ b/web/packages/base/components/utils/theme.ts@@ -634,6 +634,25 @@ const getComponents = (},},},++ MuiCheckbox: {+ defaultProps: {+ // Disable the ripple effect for all checkboxes.+ disableRipple: true,+ },+ styleOverrides: {+ // Since we've disabled the ripple, add other affordances to it (a+ // background and outline) to clearly indicate whenever it gains+ // keyboard focus.+ root: {+ "&.Mui-focusVisible": {+ backgroundColor: colors.fill?.faint,+ outline: `1px solid ${colors.stroke.faint}`,+ },+ },+ },+ },+MuiSvgIcon: {styleOverrides: {root: ({ ownerState }) => ({