UI.WPF.Modern icon indicating copy to clipboard operation
UI.WPF.Modern copied to clipboard

Combobox keyboard navigation does not follow currently selected item.

Open CasperH2O opened this issue 1 year ago • 9 comments

Describe the bug As discussed with @bober95 and @Valkirie in #52. Made a new ticket as requested by @NotYoojun

To Reproduce Steps to reproduce the behavior:

  1. Navigate a "long" dropdown which has more elements then can be shown on the screen right away using the keyboard, either with the tab key or up and down arrows.

Expected behavior I'm honestly not sure what would be best or easiest, but perhaps simply keeping the current selection/focus in view and scrolling automatically?

Screenshots 333068498-e5199f4a-35e5-4da6-9b33-07398a644246.webm

Desktop (please complete the following information):

  • OS: Windows 10, Windows 11
  • Version 10.0.19045 Build 19045

CasperH2O avatar May 24 '24 08:05 CasperH2O

I will also add that the same problem occurs in DataGrid, ScrollViewerEx is also used there

Bober95 avatar May 24 '24 08:05 Bober95

Hi, I've been working on this problem for a while and I don't know exactly why it doesn't work, but removing this line solves the problem: ScrollInfo = new ScrollInfoAdapter(ScrollInfo); in file: ScrollViewerEx.cs

Bober95 avatar Jul 03 '24 23:07 Bober95

@NotYoojun thank you very much for the update and the new release (we updated right away, very exicted!).

In the release notes I read:

Disabled ForceUseSmoothScroll for ComboBox to fix the scrolling issues.

But could not pin point the commit that was relevant for this, can we consider this ticket closed/done now? 🙂

CasperH2O avatar Jul 09 '24 08:07 CasperH2O

@NotYoojun thank you very much for the update and the new release (we updated right away, very exicted!).

In the release notes I read:

Disabled ForceUseSmoothScroll for ComboBox to fix the scrolling issues.

But could not pin point the commit that was relevant for this, can we consider this ticket closed/done now? 🙂

Hi there, Is this problem fixed? If so, you can close this issue. If something else happens, feel free to reopen.

NotYoojun avatar Jul 09 '24 08:07 NotYoojun

The problem is not resolved, it still occurs. The full solution is in my previous comment

Bober95 avatar Jul 09 '24 08:07 Bober95

**Bober95 ** commented

Any side effects ? If not, could you maybe produce a Pull Request ?

Valkirie avatar Jul 09 '24 08:07 Valkirie

**Bober95 ** commented

Any side effects ? If not, could you maybe produce a Pull Request ?

There might be. I guess virtualization features will no longer work. More tests needed.

NotYoojun avatar Jul 09 '24 12:07 NotYoojun

Hey,

Pls check after the latest commit if the problem still exists.

NotYoojun avatar Aug 29 '24 09:08 NotYoojun

Hey,

Pls check after the latest commit if the problem still exists.

Will do @NotYoojun , thanks for the follow up and thank you @Bober95 for the fix.

CasperH2O avatar Aug 29 '24 10:08 CasperH2O