Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/@headlessui-react/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Don't accidentally open the `Combobox` when touching the `ComboboxButton` while dragging on mobile ([#3795](https://github.com/tailwindlabs/headlessui/pull/3795))
- Ensure sibling `Dialog` components are scrollable on mobile ([#3796](https://github.com/tailwindlabs/headlessui/pull/3796))
- Infer `Combobox` type based on `onChange` handler ([#3798](https://github.com/tailwindlabs/headlessui/pull/3798))
- Allow home/end key default behavior inside `ComboboxInput` when `Combobox` is closed ([#3798](https://github.com/tailwindlabs/headlessui/pull/3798))

## [2.2.8] - 2025-09-12

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -734,6 +734,10 @@ function InputFn<
})

case Keys.Home:
if (machine.state.comboboxState === ComboboxState.Closed) {
break
}

if (event.shiftKey) {
break
}
Expand All @@ -748,6 +752,10 @@ function InputFn<
return machine.actions.goToOption({ focus: Focus.First })

case Keys.End:
if (machine.state.comboboxState === ComboboxState.Closed) {
break
}

if (event.shiftKey) {
break
}
Expand Down