Skip to content

Commit

Permalink
fix: sticky-element should not be restrict by an extra parent element
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-efremoff committed Oct 27, 2022
1 parent e2cbd15 commit 5ecfac3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/AsideHeader/AsideHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class AsideHeader extends React.Component<AsideHeaderInnerProps> {
const {dict, menuItems, panelItems, compact} = this.props;

return (
<div>
<React.Fragment>
<div className={b('aside')} style={{width: size}}>
<div className={b('aside-popup-anchor')} ref={this.asideRef} />
<div className={b('aside-content')}>
Expand All @@ -94,7 +94,7 @@ export class AsideHeader extends React.Component<AsideHeaderInnerProps> {
</div>

{panelItems && this.renderPanels(size)}
</div>
</React.Fragment>
);
};

Expand Down

0 comments on commit 5ecfac3

Please sign in to comment.