Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: powered by rendering above select/multi select #16857

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ const MultiSelectWidget = ({
isMulti={true}
isDisabled={remainingProps.readOnly}
options={selectItems}
menuPortalTarget={document.body}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Easier portaling this to the body instead of dealing with the isolation of stackable content when inside this weird grid/subgrid

{...remainingProps}
/>
);
Expand Down Expand Up @@ -218,6 +219,7 @@ function SelectWidget({ listValues, setValue, value, ...remainingProps }: Select
isDisabled={remainingProps.readOnly}
value={optionFromList}
options={selectItems}
menuPortalTarget={document.body}
{...remainingProps}
/>
);
Expand Down
Loading