Fix Error 52282 - Client.Files. When grabbing the left mouse button, page elements go beyond their boundaries.
This commit is contained in:
parent
e4c34e5068
commit
1fdb42a53a
@ -11,6 +11,11 @@ const onButtonClick = (url) => {
|
||||
|
||||
const CampaignsBanner = (props) => {
|
||||
const { headerLabel, subHeaderLabel, img, btnLabel, link } = props;
|
||||
|
||||
const onMouseDown = (e) => {
|
||||
e.preventDefault();
|
||||
};
|
||||
|
||||
return (
|
||||
<BannerWrapper>
|
||||
<a href={link}>
|
||||
@ -21,7 +26,7 @@ const CampaignsBanner = (props) => {
|
||||
{subHeaderLabel}
|
||||
</Text>
|
||||
|
||||
<img src={img} />
|
||||
<img src={img} onMouseDown={onMouseDown} />
|
||||
</a>
|
||||
|
||||
<Button
|
||||
|
@ -443,7 +443,7 @@ class TreeFolders extends React.Component {
|
||||
<StyledTreeMenu
|
||||
className="files-tree-menu"
|
||||
checkable={false}
|
||||
draggable
|
||||
draggable={dragging}
|
||||
disabled={isLoading}
|
||||
multiple={false}
|
||||
showIcon
|
||||
|
@ -174,6 +174,10 @@ const HeaderComponent = ({
|
||||
|
||||
const numberOfModules = mainModules.filter((item) => !item.separator).length;
|
||||
|
||||
const onMouseDown = (e) => {
|
||||
e.preventDefault();
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<Header
|
||||
@ -193,7 +197,12 @@ const HeaderComponent = ({
|
||||
|
||||
<LinkWithoutRedirect className="header-logo-wrapper" to={defaultPage}>
|
||||
{!isPersonal ? (
|
||||
<img alt="logo" src={props.logoUrl} className="header-logo-icon" />
|
||||
<img
|
||||
alt="logo"
|
||||
src={props.logoUrl}
|
||||
className="header-logo-icon AA"
|
||||
onMouseDown={onMouseDown}
|
||||
/>
|
||||
) : !isMobileOnly ? (
|
||||
<img
|
||||
alt="logo"
|
||||
@ -202,6 +211,7 @@ const HeaderComponent = ({
|
||||
AppServerConfig.proxyURL,
|
||||
"/static/images/personal.logo.react.svg"
|
||||
)}
|
||||
onMouseDown={onMouseDown}
|
||||
/>
|
||||
) : (
|
||||
<img
|
||||
|
Loading…
Reference in New Issue
Block a user