@fluentui/priority-overflow
Advanced tools
Comparing version 9.1.11 to 9.1.12
# Change Log - @fluentui/priority-overflow | ||
This log was last generated on Thu, 14 Dec 2023 09:51:32 GMT and should not be manually modified. | ||
This log was last generated on Thu, 16 May 2024 09:21:18 GMT and should not be manually modified. | ||
<!-- Start content --> | ||
## [9.1.12](https://github.com/microsoft/fluentui/tree/@fluentui/priority-overflow_v9.1.12) | ||
Thu, 16 May 2024 09:21:18 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/priority-overflow_v9.1.11..@fluentui/priority-overflow_v9.1.12) | ||
### Patches | ||
- force update the overflow when item is removed ([PR #31340](https://github.com/microsoft/fluentui/pull/31340) by miroslav.stastny@microsoft.com) | ||
## [9.1.11](https://github.com/microsoft/fluentui/tree/@fluentui/priority-overflow_v9.1.11) | ||
Thu, 14 Dec 2023 09:51:32 GMT | ||
Thu, 14 Dec 2023 09:58:42 GMT | ||
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/priority-overflow_v9.1.10..@fluentui/priority-overflow_v9.1.11) | ||
@@ -11,0 +20,0 @@ |
@@ -204,2 +204,7 @@ "use strict"; | ||
} | ||
if (observing) { | ||
// We might be removing an item in an overflow which would not affect the tops, | ||
// but we need to update anyway to update the overflow menu state | ||
forceDispatch = true; | ||
} | ||
const item = overflowItems[itemId]; | ||
@@ -206,0 +211,0 @@ visibleItemQueue.remove(itemId); |
@@ -197,2 +197,7 @@ import { DATA_OVERFLOWING, DATA_OVERFLOW_GROUP } from './consts'; | ||
} | ||
if (observing) { | ||
// We might be removing an item in an overflow which would not affect the tops, | ||
// but we need to update anyway to update the overflow menu state | ||
forceDispatch = true; | ||
} | ||
const item = overflowItems[itemId]; | ||
@@ -199,0 +204,0 @@ visibleItemQueue.remove(itemId); |
{ | ||
"name": "@fluentui/priority-overflow", | ||
"version": "9.1.11", | ||
"version": "9.1.12", | ||
"description": "Vanilla JS utilities to implement overflow menus", | ||
@@ -5,0 +5,0 @@ "main": "lib-commonjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
112647
1042