dobtco / dvl-core

Base styles for the DOBT View Layer.
https://design.dobt.co/
1 stars 1 forks source link

Dropdowns should scroll to current selection #248

Closed ajb closed 8 years ago

ajb commented 8 years ago

From @jrubenoff on March 23, 2016 22:59

So, let's say you open a long .dropdown list. You scroll somewhere in the middle, but select something by mistake.

To fix it, you have to open the dropdown again, figure out where you were again, and then select the right thing.

dropdown_issue

Ideally: when the user opens a dropdown, the menu should be scrolled so that their current selection is immediately visible. Like:

screen shot 2016-03-23 at 3 58 38 pm

Or:

screen shot 2016-03-23 at 3 58 55 pm

(This is similar to the behavior of native selects.)

Copied from original issue: dobtco/screendoor-v2#3441

ajb commented 8 years ago

Opened a couple PRs.