Skip to content

Commit

Permalink
Merge pull request #2307 from DouyinFE/pagination_rePosKey
Browse files Browse the repository at this point in the history
fix: fix pagination rePosition
  • Loading branch information
DaiQiangReal authored Jun 18, 2024
2 parents 21c7597 + 459422b commit e2a6624
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/semi-ui/pagination/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,7 @@ export default class Pagination extends BaseComponent<PaginationProps, Paginatio
i < 3 ? (content = restLeftPageList) : (content = restRightPageList);
return (
<Popover
rePosKey={this.props.currentPage}
trigger="hover"
// onVisibleChange={visible=>this.handleRestHover(visible, i < 3 ? 'left' : 'right')}
content={this.renderRestPageList(content)}
Expand Down

0 comments on commit e2a6624

Please sign in to comment.