| 1 | --- |
| 2 | title: "htmx.config.defaultSettleDelay" |
| 3 | description: "Delay between the swap and settle phases in milliseconds" |
| 4 | --- |
| 5 | |
| 6 | The `htmx.config.defaultSettleDelay` option controls how long htmx waits between the swap phase and the settle phase (when CSS transition classes are removed). |
| 7 | |
| 8 | **Default:** `1` (1 millisecond) |
| 9 | |
| 10 | ## Example |
| 11 | |
| 12 | ```javascript |
| 13 | htmx.config.defaultSettleDelay = 100; |
| 14 | ``` |
| 15 | |
| 16 | ```html |
| 17 | <meta name="htmx-config" content='{"defaultSettleDelay":100}'> |
| 18 | ``` |
| 19 | |
| 20 | Increase this value if CSS transitions are not completing before htmx removes the transition classes. |
| 21 | |
| 22 | See also: [`htmx.config`](/reference/config/htmx-config) |