---
title: NSPopover.Behavior.transient
framework: appkit
role: symbol
role_heading: Case
path: appkit/nspopover/behavior-swift.enum/transient
---

# NSPopover.Behavior.transient

The system will close the popover when the user interacts with a user interface element outside the popover.

## Declaration

```swift
case transient
```

## Discussion

Discussion Note that interacting with menus or panels that become key only when needed will not cause a transient popover to close. The exact interactions that will cause transient popovers to close are not specified.

## See Also

### Constants

- [NSPopover.Behavior.applicationDefined](appkit/nspopover/behavior-swift.enum/applicationdefined.md)
- [NSPopover.Behavior.semitransient](appkit/nspopover/behavior-swift.enum/semitransient.md)
