keystone icon indicating copy to clipboard operation
keystone copied to clipboard

List search input loses focus after debounce

Open petrkrizek opened this issue 6 years ago • 4 comments

Bug report

Describe the bug

After you type something into search input and wait for debounced search trigger, the search input will lose its focus.

To Reproduce

Create some list and try to search...

Expected behaviour

Don't lose focus because sometimes users write slowly.

petrkrizek avatar Oct 04 '20 21:10 petrkrizek

It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :)

stale[bot] avatar Feb 02 '21 03:02 stale[bot]

Messed around with this the other day-- it also happens on pressing shift. I think it has something to do with the Suspense component above it rerendering the whole component. I'm sure it's the same problem as #2237. I was able to 'fix' it by just pulling the search component of the Suspense render, but I don't know enough about Suspense to know what else that might break.

JakeCasey avatar Feb 03 '21 18:02 JakeCasey

Keystone 5 has officially moved into active maintenance mode as we push towards the next major new version Keystone Next, you can find out more information about this transition here.

In an effort to sustain the project going forward, we're cleaning up and closing old issues such as this one. If you feel this issue is still relevant for Keystone Next, please let us know.

bladey avatar Apr 08 '21 04:04 bladey

Hi there, this bug is still present in the Admin UI and pretty bad for production releases (which is my case). From my point of view, this bug should be fixed in the active maintenance mode. Is there any possibility to take a look?

Thanks for your work!

aleygues avatar May 05 '21 17:05 aleygues