diff --git a/packages/atomic/src/components.d.ts b/packages/atomic/src/components.d.ts
index 3adf865ad95..4a25c337027 100644
--- a/packages/atomic/src/components.d.ts
+++ b/packages/atomic/src/components.d.ts
@@ -1656,7 +1656,7 @@ export namespace Components {
*/
"suggestionTimeout": number;
/**
- * Whether to render the search box using a [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea) element. The resulting component will expand to support multi-line queries. When customizing the dimensions of the textarea element using the `"textarea"` CSS part, it is important to also apply the styling to its ::after pseudo-element as well as the `"textarea-spacer"` part. The buttons within the search box are likely to need adjusting as well. Example: ```css ```
+ * Whether to render the search box using a [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea) element. The resulting component will expand to support multi-line queries. When customizing the dimensions of the textarea element using the `"textarea"` CSS part, it is important to also apply the styling to its container's ::after pseudo-element as well as the `"textarea-spacer"` part. The buttons within the search box are likely to need adjusting as well. Example: ```css ```
*/
"textarea": boolean;
}
@@ -4588,7 +4588,7 @@ declare namespace LocalJSX {
*/
"suggestionTimeout"?: number;
/**
- * Whether to render the search box using a [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea) element. The resulting component will expand to support multi-line queries. When customizing the dimensions of the textarea element using the `"textarea"` CSS part, it is important to also apply the styling to its ::after pseudo-element as well as the `"textarea-spacer"` part. The buttons within the search box are likely to need adjusting as well. Example: ```css ```
+ * Whether to render the search box using a [textarea](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea) element. The resulting component will expand to support multi-line queries. When customizing the dimensions of the textarea element using the `"textarea"` CSS part, it is important to also apply the styling to its container's ::after pseudo-element as well as the `"textarea-spacer"` part. The buttons within the search box are likely to need adjusting as well. Example: ```css ```
*/
"textarea"?: boolean;
}
diff --git a/packages/atomic/src/components/common/search-box/search-box.pcss b/packages/atomic/src/components/common/search-box/search-box.pcss
index 3a116acdaa8..de758b8286b 100644
--- a/packages/atomic/src/components/common/search-box/search-box.pcss
+++ b/packages/atomic/src/components/common/search-box/search-box.pcss
@@ -9,7 +9,7 @@
@apply absolute w-5/6 h-5/6 bg-background rounded-full;
}
-.grow-wrap {
+[part='textarea-expander'] {
&::after {
/* Space needed to prevent jumpy behavior */
content: attr(data-replicated-value) ' ';
diff --git a/packages/atomic/src/components/common/search-box/search-text-area.tsx b/packages/atomic/src/components/common/search-box/search-text-area.tsx
index 7b9a332350a..3c2d5b7919d 100644
--- a/packages/atomic/src/components/common/search-box/search-text-area.tsx
+++ b/packages/atomic/src/components/common/search-box/search-text-area.tsx
@@ -81,7 +81,7 @@ export const SearchTextArea: FunctionalComponent = ({
...defaultInputProps
}) => (