@jsenv/navi 0.30.14 → 0.30.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91156,6 +91156,13 @@ const useRunItems = (store, {
91156
91156
  if (askEnd > runEnd - 1) {
91157
91157
  askEnd = runEnd - 1;
91158
91158
  }
91159
+ // Only the item before the window's first one says whether that one opens
91160
+ // its group (see whereGroupContinues). Asked for with it, the first item
91161
+ // lands with its group known, not guessed: a wrong guess changes the room
91162
+ // above it, label and scroll inset, once the item before comes.
91163
+ if (groupBy && askStart === windowFrom && windowFrom > runStart && !store.holds(rankOf(windowFrom - 1)) && (!groupOfMissing || groupOfMissing(windowFrom - 1) === undefined)) {
91164
+ askStart = windowFrom - 1;
91165
+ }
91159
91166
  }
91160
91167
  // The item the missing ones hang from, when there is one: a source paginating
91161
91168
  // by cursor ("the 50 before this one") needs an item to count from, and an