From 01a901b144dbffe32bc64fdff705f8dbae4e0277 Mon Sep 17 00:00:00 2001 From: Dimitris Pertsinidis <76684058+dpertsin@users.noreply.github.com> Date: Thu, 15 Feb 2024 01:36:07 +0200 Subject: [PATCH] [material-ui][Autocomplete] Caret transformation issue with font size change (#41066) --- packages/mui-material/src/Autocomplete/Autocomplete.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/mui-material/src/Autocomplete/Autocomplete.js b/packages/mui-material/src/Autocomplete/Autocomplete.js index 1be40792197f1a..0e970b2b30305e 100644 --- a/packages/mui-material/src/Autocomplete/Autocomplete.js +++ b/packages/mui-material/src/Autocomplete/Autocomplete.js @@ -214,7 +214,8 @@ const AutocompleteEndAdornment = styled('div', { // We use a position absolute to support wrapping tags. position: 'absolute', right: 0, - top: 'calc(50% - 14px)', // Center vertically + top: '50%', + transform: 'translate(0, -50%)', }); const AutocompleteClearIndicator = styled(IconButton, {