Remove property pane custom scrollbar for cypress (#3592)

This commit is contained in:
Hetu Nandu 2021-03-17 15:56:34 +05:30 committed by GitHub
parent 0e3901953b
commit b32cdfc8cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,7 +16,7 @@ import {
import Popper from "pages/Editor/Popper";
import { generateClassName } from "utils/generators";
import { ReduxActionTypes } from "constants/ReduxActionConstants";
import styled, { hideScrollbar } from "constants/DefaultTheme";
import styled from "constants/DefaultTheme";
import { WidgetProps } from "widgets/BaseWidget";
import PropertyPaneTitle from "pages/Editor/PropertyPaneTitle";
import AnalyticsUtil from "utils/AnalyticsUtil";
@ -32,7 +32,7 @@ import { deleteSelectedWidget, copyWidget } from "actions/widgetActions";
import { ControlIcons } from "icons/ControlIcons";
import { FormIcons } from "icons/FormIcons";
import PropertyPaneHelpButton from "pages/Editor/PropertyPaneHelpButton";
import ScrollIndicator from "components/ads/ScrollIndicator";
// import ScrollIndicator from "components/ads/ScrollIndicator";
const PropertyPaneWrapper = styled(PaneWrapper)<{
themeMode?: EditorTheme;
@ -47,7 +47,6 @@ const PropertyPaneWrapper = styled(PaneWrapper)<{
overflow-y: auto;
overflow-x: hidden;
text-transform: none;
${hideScrollbar}
`;
const StyledPanelStack = styled(PanelStack)`
@ -208,11 +207,6 @@ class PropertyPane extends Component<PropertyPaneProps, PropertyPaneState> {
}}
showPanelHeader={false}
/>
<ScrollIndicator
containerRef={this.panelWrapperRef}
top="4px"
right="8px"
/>
</PropertyPaneWrapper>
);
}