question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dropdown (v2): Swallows space keys after it's been opened

See original GitHub issue

Detailed description

Describe in detail the issue you’re having.

I have a dropdown with an item template which adds a search box in the items list. The issue is that when I type something in the search box it gets through the Dropdown.onKeyDown() method first which swallows the spaces.

image

Is this a feature request (new component, new icon), a bug, or a general issue?

Bug

Is this issue related to a specific component?

Dropdown

What did you expect to happen? What happened instead? What would you like to see changed?

I expect the component to handle spaces only when it needs to open the menu and leave them to propagate otherwise.

What browser are you working in?

Chrome

What version of the Carbon Design System are you using?

2.45.0

What offering/product do you work on? Any pressing ship or release dates we should be aware of?

IBM ADDI

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
stanislavgeorgievcommented, Jul 4, 2019

Yes, I need it please. If something is filed against the v2 branch then I’d imagine that’s where the fix should land in first as it’s a support issue.

0reactions
carbon-botcommented, Jul 4, 2019

🎉 This issue has been resolved in version 2.48.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dropdown (v2): Swallows space keys after it's been opened
I have a dropdown with an item template which adds a search box in the items list. The issue is that when I...
Read more >
Autocomplete on Combobox onkeypress event eats up the ...
Another interesting thing about KeyPress event is: it even catches Enter key with autocompete on if the combobox has no items! :-).
Read more >
My windows keyboard is being "clever" with the quote keys
For Windows 10: Open Control Panel. Click on Clock, Language, and Region and then click on Language. If you don't see a ...
Read more >
Grade 7 Answer Key - Louisiana Believes
Grade 7 Answer Key. ITEM 2. Marcia dusts. I ... If the dress was originally priced at $125, how much will the student...
Read more >
Prevent Page Scrolling When a Modal is Open | CSS-Tricks
You open a modal, scroll through it, close it, and wind up somewhere else on the page than you were when you opened...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found