diff --git a/packages/client/src/pages/AccountsHome/Section/Body/index.js b/packages/client/src/pages/AccountsHome/Section/Body/index.js index 3ae4e8e100..57ac435c61 100644 --- a/packages/client/src/pages/AccountsHome/Section/Body/index.js +++ b/packages/client/src/pages/AccountsHome/Section/Body/index.js @@ -34,6 +34,7 @@ class SectionBodyContent extends React.Component { ) { setSelection([]); setBufferSelection(null); + window?.getSelection()?.removeAllRanges(); } }; diff --git a/packages/common/components/FloatingButton/FloatingButton.js b/packages/common/components/FloatingButton/FloatingButton.js index 92845a0ccd..31d74226f9 100644 --- a/packages/common/components/FloatingButton/FloatingButton.js +++ b/packages/common/components/FloatingButton/FloatingButton.js @@ -40,6 +40,7 @@ const FloatingButton = (props) => { onClick, color, clearUploadedFilesHistory, + showTwoProgress, ...rest } = props; @@ -67,7 +68,10 @@ const FloatingButton = (props) => { }, [percent, setAnimationCompleted]); return ( - + (props.showTwoProgress ? "96px" : "0")}; ${!isMobile && css` diff --git a/packages/common/components/Section/index.js b/packages/common/components/Section/index.js index 7872ca2036..a10b7a4469 100644 --- a/packages/common/components/Section/index.js +++ b/packages/common/components/Section/index.js @@ -320,6 +320,9 @@ class Section extends React.Component { icon={secondaryProgressBarIcon} percent={secondaryProgressBarValue} alert={showSecondaryButtonAlert} + showTwoProgress={ + showPrimaryProgressBar && showSecondaryProgressBar + } /> ) : showPrimaryProgressBar &&