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

Increasing option size after each select open #21

Open
eng-marani opened this issue Nov 17, 2022 · 1 comment
Open

Increasing option size after each select open #21

eng-marani opened this issue Nov 17, 2022 · 1 comment

Comments

@eng-marani
Copy link

I like this control, but it has a very evident issue handling options heights.
I can address this problem only adding this CSS style that override defaults

<style> .dd-selected-text, .dd-option-text { line-height: 3em !important; } </style>

Is it possible to just adjust to option content height when no fixed height is specified ?

@idovdw
Copy link

idovdw commented Nov 27, 2023

In function adjustOptionsHeight(obj) try to use:
var lOHeight = $this.height() - ($this.innerHeight() - $this.height());

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