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]: Popover max-height need to be limited by available height #263

Closed
hrynevychroman opened this issue Jan 11, 2024 · 5 comments · Fixed by #264
Closed

[Bug]: Popover max-height need to be limited by available height #263

hrynevychroman opened this issue Jan 11, 2024 · 5 comments · Fixed by #264
Labels
bug Something isn't working

Comments

@hrynevychroman
Copy link
Collaborator

Environment

Main Website

Link to minimal reproduction

https://www.shadcn-vue.com/examples/cards

Steps to reproduce

Just open Year Select on left card

image

Describe the bug

Select don't limit by available height 🙂

Expected behavior

Need to add height, or max-height (think that max-height is better) to popover element, so scroll will be shown

image

Conext & Screenshots (if applicable)

No response

@hrynevychroman hrynevychroman added the bug Something isn't working label Jan 11, 2024
@hrynevychroman
Copy link
Collaborator Author

I will make PR to fix this issue 🙂

@sadeghbarati
Copy link
Collaborator

Great, Thanks 🙌

@hrynevychroman
Copy link
Collaborator Author

@sadeghbarati sorry for tagging you, but I don't familiar with GitHub (working on GitLab mostly), how can I push new branch with PR, I don't have permissions( Maybe you can give me some guide how to make PR rightly)

image

@sadeghbarati
Copy link
Collaborator

sadeghbarati commented Jan 11, 2024

Fork the repository -> go to the main page of the repository -> top-right -> left side of the start button

Now you have your own (origin) which you can push a new branch to it, without affecting (upstream) repository which also you have no permission but it's better to work on your origin even if you have permission

You can use VSCode or Git CLI or Git GUI Apps like GitHub Desktop, SourceTree, GitKraken, ...

@hrynevychroman
Copy link
Collaborator Author

@sadeghbarati Thank you! ❤️

Fork the repository -> go to the main page of the repository -> top-right -> left side of the start button

Now you have your own (origin) which you can push a new branch to it, without affecting (upstream) repository which also you have no permission but it's better to work on your origin even if you have permission

You can use VSCode or Git CLI or Git GUI Apps like GitHub Desktop, SourceTree, GitKraken, ...

hrynevychroman added a commit to hrynevychroman/shadcn-vue that referenced this issue Jan 11, 2024
sadeghbarati pushed a commit that referenced this issue Jan 11, 2024
* fix(popover): add max-height to SelectContent (#263)

Closes: #263

* fix(popover): add max-height to SelectContent [default style] (#263)

Closes: #263
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants