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 request new connector button #16934

Merged
merged 3 commits into from
Sep 21, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Type args
  • Loading branch information
krishnaglick committed Sep 20, 2022
commit 0bf203b6af5a5f725cfa7eed692bd2cdf18c6b47
4 changes: 2 additions & 2 deletions airbyte-webapp/src/components/base/DropDown/DropDown.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from "react";
import { CSSObjectWithLabel, GroupBase, Props, SelectComponentsConfig, StylesConfig } from "react-select";
import { PortalStyleArgs } from "react-select/dist/declarations/src/components/Menu";
import Select from "react-select/dist/declarations/src/Select";

import { equal, naturalComparatorBy } from "utils/objects";
Expand Down Expand Up @@ -56,8 +57,7 @@ function DropDownInner<T = unknown>(

const styles: StylesConfig = {
...(props.styles ?? {}),
// eslint-disable-next-line @typescript-eslint/no-explicit-any
menuPortal: (base: CSSObjectWithLabel, menuPortalProps: any) => ({
menuPortal: (base: CSSObjectWithLabel, menuPortalProps: PortalStyleArgs) => ({
...(props.styles?.menuPortal?.(base, menuPortalProps) ?? { ...base }),
zIndex: 9999,
}),
Expand Down