Skip to content

Commit

Permalink
🐛 fix(custom): 修复页面长度过窄搜索建议跑上面的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
master1lan committed Mar 5, 2023
1 parent 0d49ed4 commit c339497
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/routers/layout/search/pc/searchSuggest.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,17 @@ const SuggestPopper: FC<SuggestPopperProps> = (props) => {
return (
<Popper
anchorEl={anchorEl}
modifiers={[
{
name: "flip",
enabled: false,
options: {
altBoundary: true,
rootBoundary: "document",
padding: 8,
},
},
]}
open={props.open}
placement='bottom'
sx={{
Expand Down

0 comments on commit c339497

Please sign in to comment.