Skip to content

Commit

Permalink
Merge pull request #2870 from XiaoMi/hotfix/pagination/2865
Browse files Browse the repository at this point in the history
fix(pagination): 每页显示条数选择器改为基于父元素定位 (#2865)
  • Loading branch information
solarjoker authored Jun 14, 2024
2 parents 841f9ff + 5508758 commit 24b0a63
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/friendly-files-sit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hi-ui/hiui": patch
---

fix(pagination): 每页显示条数选择器改为基于父元素定位
5 changes: 5 additions & 0 deletions .changeset/old-ears-greet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hi-ui/pagination": patch
---

fix: 每页显示条数选择器改为基于父元素定位
3 changes: 3 additions & 0 deletions packages/ui/pagination/src/PageOption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ export const PageOption: React.FC<PageOptionProps> = ({
value={pageSize}
clearable={false}
onChange={onPageSizeChange as (value: React.ReactText) => void}
overlay={{
disabledPortal: true,
}}
/>
)
}
Expand Down

0 comments on commit 24b0a63

Please sign in to comment.