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

Advanced Select: Force dropdown options position #489

Closed
x9sim9 opened this issue Oct 27, 2024 · 2 comments
Closed

Advanced Select: Force dropdown options position #489

x9sim9 opened this issue Oct 27, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@x9sim9
Copy link

x9sim9 commented Oct 27, 2024

Summary

When clicking an advanced select have option for always_below or always_above

Detailed Description

When using advanced select, if there is more visible space above the select box than below the select box will show the options above the select box. This has the issue of blocking the label for the select in some circumstances, so its better to have the ability to set an option that sets the select options to always appear below even if its slightly off screen for specific use cases.

Use Cases

If the label is directly above the select box avoid blocking the label by showing the options below.

@Root-acess
Copy link

Suggestion
Add an option for always_below or always_above in the advanced select component.

Detailed Description
Currently, the advanced select component automatically determines whether to display options above or below the select box based on available space. However, in cases where the options appear above, it can obstruct the label placed directly above the select box, creating usability issues. This feature would allow developers to set the options dropdown to always appear below (or above), even if it might slightly overflow off-screen.

Use Case
In forms where labels are placed directly above the select component, this feature would prevent the dropdown options from blocking the label, improving clarity and user experience.

@jahaganiev jahaganiev added the enhancement New feature or request label Dec 4, 2024
@jahaganiev
Copy link
Member

Hey everyone, we've added a new parameter dropdownVerticalFixedPlacement in the latest v2.6.0 release. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants