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.

Don't scroll to top when selecting multiple items with ctrl

See original GitHub issue

When selecting multiple items from a dropdown and holding ctrl, it would be more user friendly to prevent the default action to scroll to the top of the dropdown menu. I’m dealing with a dropdown of 200+ items and this is an annoying feature, to say at least.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
frnancommented, Jul 3, 2016

Indeed it’s a tricky one since it seems related to the trigger(“chosen:update”); which is from the chosen lib …

I ll keep you posted @leocaseiro

0reactions
leocaseirocommented, Jul 5, 2016

Hi @frnan, this is very promisor. Many thanks for this fix. I need to run the tests before release it.

Would you like to send me a PR on the chosen.coffee file, so I can test and release this fix?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why do <select multiple> boxes scroll to the top with ...
Click on option 2 · Scroll down a bit · Click on any option-element.
Read more >
MultiSelect, closeOnSelect:false - Jumps to top of list each ...
When using a select with mode of multiple and closeOnSelect as false, the drop down jumps to the top of the list with...
Read more >
Selecting multiple list items - ConfTool
Hold the CTRL key and click the items in a list to choose them. Click all the items you want to select. They...
Read more >
How to select items that are not next to each other
Select the first item that you want. For example, select some text. · Press and hold CTRL. · Select the next item that...
Read more >
overscroll-behavior - CSS: Cascading Style Sheets | MDN
The overscroll-behavior CSS property sets what a browser does when reaching the boundary of a scrolling area.
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