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

[Bug]: MultiSelect drop down cut off in Dialog #988

Closed
jschuur opened this issue Mar 4, 2024 · 3 comments · Fixed by #1000 or #1005
Closed

[Bug]: MultiSelect drop down cut off in Dialog #988

jschuur opened this issue Mar 4, 2024 · 3 comments · Fixed by #1000 or #1005
Labels
Priority: Medium This issue/feature is of medium priority released on @beta released Type: Bug Confirmed bug, something is not working as intended

Comments

@jschuur
Copy link

jschuur commented Mar 4, 2024

Tremor Version

3.14.1

Link to minimal reproduction

n/a

Steps to reproduce

Nest a MultiSelect inside a DialogPanel and when the drop down menu opens up, it gets cut off at the end of the dialog box, if it's a small enough dialog box.

CleanShot 2024-03-04 at 08 47 00@2x

What is expected?

Dropdown menu should be fully visible.

What is actually happening?

Dropdown menu is cut off at the bottom.

What browsers are you seeing the problem on?

Chrome

Any additional comments?

I've solved this for now, by explicitly removing the overflow-hidden in the .tremor-dialog-panel div, by adding this to globals.css:

.tremor-dialog-panel {
  overflow: visible !important
}

Edit: You can also just add overflow-visible to the DialogPanel.

@rlancejohnson
Copy link

This is happening for all versions of the select components and the date picker component with cards and modals for us.

@severinlandolt severinlandolt added Type: Bug Confirmed bug, something is not working as intended Priority: Medium This issue/feature is of medium priority labels Mar 8, 2024
@severinlandolt severinlandolt linked a pull request Mar 27, 2024 that will close this issue
15 tasks
Copy link

🎉 This issue has been resolved in version 3.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

🎉 This issue has been resolved in version 3.16.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Medium This issue/feature is of medium priority released on @beta released Type: Bug Confirmed bug, something is not working as intended
Projects
None yet
3 participants