Antd select drop-down option offset problem

as shown in the figure, in the process of using select, there is a situation where the offset of the matching drop-down option cannot be close to the input box, and the reason has not been found. Orz, has a little impact on the experience

.

clipboard.png

Mar.24,2021
Add getPopupContainer= {trigger = > trigger.parentNode} inside the
tag, and set the style of the select drop-down
.ant-select-dropdown {

position: relative;
left: 0 !important;
top:0 !important;

}

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1bead27-31a20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1bead27-31a20.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?