> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IAlertingDialogSensitivityProps

- Package: [@gooddata/sdk-ui-dashboard](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/index.md)
- Kind: interface
- Stability: beta
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui-dashboard/src/presentation/automations/alerting/types.ts

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Props of the default alerting dialog's sensitivity field (anomaly detection).

**Signature:**

```typescript
export interface IAlertingDialogSensitivityProps 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [closeOnParentScroll?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogsensitivityprops/index.md#ialertingdialogsensitivitypropscloseonparentscroll) |  | boolean | **_(BETA)_** _(Optional)_ Closes the dropdown when an ancestor scrolls; the default dialog sets it. |
| [id](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogsensitivityprops/index.md#ialertingdialogsensitivitypropsid) |  | string | **_(BETA)_** Id of the dropdown button; the form row's label points at it. |
| [onSensitivityChange](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogsensitivityprops/index.md#ialertingdialogsensitivitypropsonsensitivitychange) |  | (sensitivity: [IAlertAnomalyDetectionSensitivity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ialertanomalydetectionsensitivity/index.md)) =&gt; void | **_(BETA)_** Called with the picked sensitivity. |
| [overlayPositionType?](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogsensitivityprops/index.md#ialertingdialogsensitivitypropsoverlaypositiontype) |  | OverlayPositionType | **_(BETA)_** _(Optional)_ Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`. |
| [selectedSensitivity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui-dashboard/sdk-ui-dashboard.ialertingdialogsensitivityprops/index.md#ialertingdialogsensitivitypropsselectedsensitivity) |  | [IAlertAnomalyDetectionSensitivity](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ialertanomalydetectionsensitivity/index.md) \| undefined | **_(BETA)_** The anomaly-detection sensitivity; undefined renders as `"MEDIUM"`. |

## Property details

### IAlertingDialogSensitivityProps.closeOnParentScroll

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Closes the dropdown when an ancestor scrolls; the default dialog sets it.

**Signature:**

```typescript
closeOnParentScroll?: boolean;
```

### IAlertingDialogSensitivityProps.id

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Id of the dropdown button; the form row's label points at it.

**Signature:**

```typescript
id: string;
```

### IAlertingDialogSensitivityProps.onSensitivityChange

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Called with the picked sensitivity.

**Signature:**

```typescript
onSensitivityChange: (sensitivity: IAlertAnomalyDetectionSensitivity) => void;
```

### IAlertingDialogSensitivityProps.overlayPositionType

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Positioning of the dropdown overlay; the default dialog uses `"sameAsTarget"`.

**Signature:**

```typescript
overlayPositionType?: OverlayPositionType;
```

### IAlertingDialogSensitivityProps.selectedSensitivity

> **Beta API.** Mostly stable, but details may change in a minor release, outside SemVer. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

The anomaly-detection sensitivity; undefined renders as `"MEDIUM"`.

**Signature:**

```typescript
selectedSensitivity: IAlertAnomalyDetectionSensitivity | undefined;
```
