Describe the bug
Normally you can select all text left of the cursor with Shift + Home and right of the cursor with Shift + End when being inside a textbox. This shortcut does not work as expected in the filter textbox of a listbox.
Instead of selecting the text, only the cursor is moved without any selection.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
Not sure if Home and End should even do anything in the textbox as there are event handlers that change the option focus.
Reproducer
https://primeng.org/listbox#filter
Environment
Windows 11
Angular version
probably 20.x
PrimeNG version
v20
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
- Go to https://primeng.org/listbox#filter
- type in some text in the filter
- Press
Shift + Home --> cursor is moved to the start without selection
Expected behavior
Either Home and End should do nothing in the filter textbox as they focus list items or Shift + Home and Shift + End should select text.
Describe the bug
Normally you can select all text left of the cursor with
Shift+Homeand right of the cursor withShift+Endwhen being inside a textbox. This shortcut does not work as expected in the filter textbox of a listbox.Instead of selecting the text, only the cursor is moved without any selection.
Pull Request Link
No response
Reason for not contributing a PR
Other Reason
Not sure if
HomeandEndshould even do anything in the textbox as there are event handlers that change the option focus.Reproducer
https://primeng.org/listbox#filter
Environment
Windows 11
Angular version
probably 20.x
PrimeNG version
v20
Node version
No response
Browser(s)
No response
Steps to reproduce the behavior
Shift+Home--> cursor is moved to the start without selectionExpected behavior
Either
HomeandEndshould do nothing in the filter textbox as they focus list items orShift+HomeandShift+Endshould select text.