mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-23 14:13:21 +01:00
Select text too when pressing /
This commit is contained in:
parent
7100937e79
commit
090320150a
1 changed files with 1 additions and 0 deletions
|
@ -177,6 +177,7 @@ function Search({ columnMode, ...props }) {
|
||||||
['/', 'Slash'],
|
['/', 'Slash'],
|
||||||
(e) => {
|
(e) => {
|
||||||
searchFormRef.current?.focus?.();
|
searchFormRef.current?.focus?.();
|
||||||
|
searchFormRef.current?.select?.();
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
preventDefault: true,
|
preventDefault: true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue