logseq / db-test

Used for Database version test
5 stars 1 forks source link

Date picker UI not updating when using keyboard #104

Closed nckre closed 1 month ago

nckre commented 1 month ago

Search first

What Happened?

When opening the date picker, can control the date with keyboard shortcuts but the highlight on the date is not updating.

CleanShot 2024-09-18 at 12 20 35

Reproduce the Bug

  1. Open date picker
  2. Use "Arrow right" to move to tomorrow
  3. Hit enter

Expected Behavior

Highlight should always be on selected date.

Screenshots

No response

Browser, Desktop or Mobile Platform Information

No response

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

tiensonqin commented 1 month ago

@nckre Which browser are you using? I tried but failed to reproduce it. https://www.loom.com/share/e1ce175ba0be4411985204b137ed1434

nckre commented 1 month ago

Interesting. Originally tested in Arc Browser (MacOS), but can see it in Chrome (ver 129.0.6668.59) too:

CleanShot 2024-09-18 at 17 57 31

tiensonqin commented 1 month ago

@xyhp915 Any ideas?

tiensonqin commented 1 month ago

Interesting one, I can reproduce this on Arc 1.60.0.

tiensonqin commented 1 month ago

@nckre I just pushed a fix, let me know whether it works for you. The website should be ready.

nckre commented 1 month ago

Yep, seems fixed, can see the highlight now in Arc