diff --git a/src/components/Feedback/controls/DislikeVariantsPopup.tsx b/src/components/Feedback/controls/DislikeVariantsPopup.tsx index d3be60cf..7de22c7c 100644 --- a/src/components/Feedback/controls/DislikeVariantsPopup.tsx +++ b/src/components/Feedback/controls/DislikeVariantsPopup.tsx @@ -164,6 +164,12 @@ const DislikeVariantsPopup: React.FC = memo( onOutsideClick={onOutsideClick} contentClassName={b('variants-popup', {view})} placement={position} + modifiers={[ + { + name: 'preventOverflow', + options: {padding: 1, altBoundary: true, altAxis: true}, + }, + ]} >

{t('dislike-variants-title')}

diff --git a/src/components/Feedback/controls/SuccessPopup.tsx b/src/components/Feedback/controls/SuccessPopup.tsx index da53800d..686753e9 100644 --- a/src/components/Feedback/controls/SuccessPopup.tsx +++ b/src/components/Feedback/controls/SuccessPopup.tsx @@ -34,6 +34,9 @@ const SuccessPopup = memo(({visible, anchor, onOutsideClick, onOutsideClick={onOutsideClick} contentClassName={b('success-popup', {view})} placement={position} + modifiers={[ + {name: 'preventOverflow', options: {padding: 1, altBoundary: true, altAxis: true}}, + ]} >

{t('success-title')}

{t('success-text')}