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

Though Dropdown component is specified with direction="down", but if there is no enough space, the panel will still expand upwards. #298

Open
1 task done
chulinyin opened this issue Nov 16, 2024 · 0 comments

Comments

@chulinyin
Copy link

chulinyin commented Nov 16, 2024

基本信息

预期结果

when specify props with direction="down", whatever the container position, the panel should expand downwards.

复现步骤

Can chang the bottom value in the example, when bottom: "400px" works fine, but when bottom: "200px", the panel will expand upwards.

@chulinyin chulinyin changed the title Though Dropdown component is specified with direction="down", when there is not enough space in the dropdown, the panel will still expand upwards. The expected behavior is for the panel to always expand downwards. Though Dropdown component is specified with direction="down", but if there is not enough space in the dropdown, the panel will still expand upwards. The expected behavior is for the panel to always expand downwards. Nov 16, 2024
@chulinyin chulinyin changed the title Though Dropdown component is specified with direction="down", but if there is not enough space in the dropdown, the panel will still expand upwards. The expected behavior is for the panel to always expand downwards. Though Dropdown component is specified with direction="down", but if there is no enough space, the panel will still expand upwards. Nov 16, 2024
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

1 participant