Remove overlay-scroll-bar (#11258)
## What - Deprecate overlayscrollbars as we decided to follow the native behavior - rework on performances (avoid calling recoil states too much at field level which is quite expensive) - Also implements: https://github.com/twentyhq/core-team-issues/issues/569 --------- Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
@ -24,6 +24,7 @@ const StyledMainSection = styled(NavigationDrawerSection)`
|
||||
`;
|
||||
const StyledInnerContainer = styled.div`
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
`;
|
||||
|
||||
export const MainNavigationDrawerItems = () => {
|
||||
@ -66,10 +67,8 @@ export const MainNavigationDrawerItems = () => {
|
||||
</StyledMainSection>
|
||||
)}
|
||||
<ScrollWrapper
|
||||
contextProviderName="navigationDrawer"
|
||||
componentInstanceId={`scroll-wrapper-navigation-drawer`}
|
||||
defaultEnableXScroll={false}
|
||||
scrollbarVariant="no-padding"
|
||||
>
|
||||
<StyledInnerContainer>
|
||||
<NavigationDrawerOpenedSection />
|
||||
|
||||
Reference in New Issue
Block a user