i-like-robots/react-tags

Scroll bar is not moving for suggestions box with keyup and keydown events

poonam-tru opened this issue · 4 comments

Your issue may already be reported! Please search on the issue tracker before creating one.

Expected behaviour

A clear and concise description of what the bug is.
Expected behaviour , to scroll down the suggestions for dropdown when user press keyup and key down event

Current behaviour

A clear and concise description of what you expected to happen.
Currently It's showing only keyup/down but not moving the scroll within that suggestion box. As I am unable to see the next focused item below.

Steps to Reproduce

Steps to reproduce the problem:

  1. Suggestion list css should be with max-height:400px and overflow:scroll,
  2. Search the suggestion and add key down / key up press event
  3. List is not moving down with scroll and only focus moving up and down

Example and screenshots

Please add a link to a minimal reproducible example of the bug if you have created one.

Screenshots

Screenshot 2022-09-21 at 5 39 32 PM

for reference: http://jsfiddle.net/squeral/4jf0n2ff/ for scroll with key press.

If applicable, add screenshots to help explain your problem.

Your environment

-MAC/OS: Window 10, Catalina mac

  • Browser: chrome/safari
  • Version of the component: latest
  • React version: 16.0 +

Additional context

Add any other useful context about the problem here.

Thank you for your issue report with screenshots and demo, I appreciate the time you spent on them.

I believe this is a duplicate of #194 and this issue has been resolved in v7 which is in beta.

I've responded to you in i-like-robots/react-tag-autocomplete#8 - I'm afraid this isn't ready yet.