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

feat: add no-vertical-overlap prop to vaadin-select #7492

Merged
merged 4 commits into from
Jun 19, 2024

Conversation

DiegoCardoso
Copy link
Contributor

Description

Add a property to vaadin-select called noVerticalOverlap which forwards its value to the same property present in the Overlay, to allow users to configure whether they want the overlay to overlap the input container (default) or not.

Part of #5101

Type of change

  • Feature

Add a property to `vaadin-select` called `noVerticalOverlap` which
forwards its value to the same property present in the Overlay, to allow
users to configure whether they want the overlay to overlap the input
container (default) or not.

Part of #5101
Copy link
Contributor

@sissbruecker sissbruecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems to work well in general, added one small comment.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small thing I noticed is that for combo box, date picker, time picker there's a few pixels of offset between the input and the overlay. With select there is no offset between the value button and the overlay.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch. I had it done locally but forgot to commit the file 🤦🏻

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now 👍

packages/select/test/select.common.js Outdated Show resolved Hide resolved
Copy link

sonarcloud bot commented Jun 19, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@DiegoCardoso DiegoCardoso merged commit 9c4fd06 into main Jun 19, 2024
9 checks passed
@DiegoCardoso DiegoCardoso deleted the feat/select/no-vertical-overlap-prop branch June 19, 2024 07:04
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.5.0.alpha4 and is also targeting the upcoming stable 24.5.0 version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants