Set focus to package when searching with key strokes#3360
Set focus to package when searching with key strokes#3360Martí Climent (marticliment) merged 5 commits intoDevolutions:mainfrom
Conversation
|
Now handling It's really sad that we have to handle such basic functionality ourselves... |
3c10c55 to
efb2c06
Compare
efb2c06 to
4593894
Compare
|
I think I was able to solve all problems. The CharacterReceived listener had to be moved to PackageList since otherwise the search input would lose focus when entering text. Note that I changed the scroll position from |
|
I will test and merge as soon as I can. Thanks! |
878bd18
into
Devolutions:main
|
Thanks! |
Any user suspected of farming GitHub activity with crypto purposes will get banned. Submitting broken code wastes the contributors' time, who have to spend their free time reviewing, fixing, and testing code that does not even compile breaks other features, or does not introduce any useful changes. I appreciate your understanding.
Using
FindDescendant()to find the selected PackageItemContainer to focus it after selecting it. Also usingStartBringItemIntoView()to scroll to item.This fixes checking the package by pressing Space, but when pressing Up or Down, the wrong package is still selected (that's why this PR is a draft).
Closes #3355