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.

Two dropdown items highlighted when dropdown reopened

See original GitHub issue

To reproduce:

<b-dropdown text="Dropdown">
    <b-dropdown-item>Item1</b-dropdown-item>
    <b-dropdown-item>Item2</b-dropdown-item>
    <b-dropdown-item>Item3</b-dropdown-item>
</b-dropdown>
  1. Open dropdown
  2. Move mouse to Item3 so it gets highlighted
  3. Move mouse to the right outside of the dropdown and click (dropdown closes)
  4. Reopen dropdown

Item1 and Item3 are now highlighted until you move your mouse over the dropdown items again.

Expected:

Only Item1 highlighted.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tmorehousecommented, Jul 7, 2017

This should be fixed in the next release v0.19.0. The issue doesn’t actually affect usage of the drop down, as the highlight is just a visual aid.

0reactions
dsincl12commented, Jul 7, 2017

OK, I’ll give it a try. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Highlight a select / dropdown with a class when its open or is ...
The select is in its dropped down / open state; The select has a valid option selected (i.e. One or Two). But it...
Read more >
How to highlight currently selected item in dropdown menu
Hi there. I am trying to make currently selected item highlighted on menu bar. this is what I have tried so far
Read more >
ComboBox Item highlight event - MSDN - Microsoft
Is there a way to get an event when the dropdown item in ComboBox is highlighted? ... SelectedItem = -1 when the dropdown...
Read more >
Problem Solved: Dependent Drop Down Lists in Excel
In this video we answer a common problem people have when creating dependent drop down lists in Excel. And that problem is when...
Read more >
Solved with CSS! Dropdown Menus - CSS-Tricks
Now, say we want a sub-menu dropdown on the second navigation item. We can do the same thing there and include a list...
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