Skip to content

Commit

Permalink
Merge pull request #4130 from Codeinwp/fix/popover-wp-64
Browse files Browse the repository at this point in the history
Popover issues in wp 6.4
  • Loading branch information
preda-bogdan committed Nov 20, 2023
2 parents 163a53f + d6af60d commit 911376b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions assets/apps/components/src/Common/DropdownFix.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ export default function Dropdown(props) {
popoverProps ? popoverProps.className : undefined,
contentClassName
)}
inline={true}
>
{renderContent(args)}
</Popover>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ const ComponentsPopover: React.FC<Props> = ({
position="top center"
className="items-popover"
onFocusOutside={closePopup}
// @ts-ignore
inline={true}
>
<div className="popover-header">
<Icon icon={search} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ const FontFamilySelector = ({
setVisible(false);
setSearch('');
}}
inline={true}
>
{fonts ? getFontList() : __('In Progress', 'neve')}
</Popover>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ const IconSelector = ({ label, value, onIconChoice, icons }) => {
onFocusOutside={() => {
setVisible(!visible);
}}
inline={true}
>
{
<Suspense fallback={<Spinner />}>
Expand Down

0 comments on commit 911376b

Please sign in to comment.