Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vertically centering dropdown items #11

Closed
ench0 opened this issue Nov 11, 2022 · 1 comment
Closed

Vertically centering dropdown items #11

ench0 opened this issue Nov 11, 2022 · 1 comment

Comments

@ench0
Copy link

ench0 commented Nov 11, 2022

First thanks for this module, it completely replaced my other dropdown solutions.

It has LOADS of options so it is somewhat easy to get lost :-). I would like to be able to center my dropdown options so the selected item comes in the middle center of the dropdown.

I guess it is easier to explain it via the screenshot:

image

Dropdown has 10 options, from 1 to 10. It only shows 5 items at the time (controlled via height option).

I would like for the currently selected item ('5' in this case) to be in the middle of the displayed list rather than at the top. I tried all the 'align' option in the module, but no luck. Is there an option there or something else that I'm missing?

Many thanks!

@joo6077
Copy link
Owner

joo6077 commented Apr 30, 2023

Sorry it's too late to update your requested feature but I update v2.1.0 selectedItemAlign in dropdown options.

@joo6077 joo6077 closed this as completed Apr 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants