Skip to content

Commit

Permalink
fix: incorrect position of picker popup (ant-design#35620)
Browse files Browse the repository at this point in the history
Co-authored-by: yangpj17 <[email protected]>

close ant-design#35590
  • Loading branch information
yykoypj authored May 19, 2022
1 parent dd0b9d9 commit 10964f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/date-picker/style/index.less
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,10 @@
&-dropdown {
.reset-component();
position: absolute;
// Fix incorrect position of picker popup
// https://github.com/ant-design/ant-design/issues/35590
top: -9999px;
left: -9999px;
z-index: @zindex-picker;

&-hidden {
Expand Down

0 comments on commit 10964f1

Please sign in to comment.