Skip to content

Commit

Permalink
fix: popover issues in wp 6.4 [#4107]
Browse files Browse the repository at this point in the history
  • Loading branch information
cristian-ungureanu committed Nov 2, 2023
1 parent 163a53f commit d6af60d
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
@@ -145,6 +145,7 @@ export default function Dropdown(props) {
popoverProps ? popoverProps.className : undefined,
contentClassName
)}
inline={true}
>
{renderContent(args)}
</Popover>
Original file line number Diff line number Diff line change
@@ -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} />
Original file line number Diff line number Diff line change
@@ -197,6 +197,7 @@ const FontFamilySelector = ({
setVisible(false);
setSearch('');
}}
inline={true}
>
{fonts ? getFontList() : __('In Progress', 'neve')}
</Popover>
Original file line number Diff line number Diff line change
@@ -51,6 +51,7 @@ const IconSelector = ({ label, value, onIconChoice, icons }) => {
onFocusOutside={() => {
setVisible(!visible);
}}
inline={true}
>
{
<Suspense fallback={<Spinner />}>

0 comments on commit d6af60d

Please sign in to comment.