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

fix(Select): add max height for Select.Options #1858

Merged
merged 5 commits into from
Feb 26, 2024
Merged

Conversation

booc0mtaco
Copy link
Contributor

Summary:

before, it was possible for options to extend beyond the full height of the page, or be taller than the page. Make it so that its height is capped at a maximum of 25% screen state. Add tests to show the keyboard nav works properly

Test Plan:

  • Wrote automated tests
  • CI tests / new tests are not applicable
  • Manually tested my changes, but I want to keep the details secret
  • Manually tested my changes, and here are the details:

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.59%. Comparing base (36e80b3) to head (62156b8).

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #1858   +/-   ##
=======================================
  Coverage   92.59%   92.59%           
=======================================
  Files         148      148           
  Lines        2862     2862           
  Branches      780      780           
=======================================
  Hits         2650     2650           
  Misses        195      195           
  Partials       17       17           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Feb 26, 2024

size-limit report 📦

Path Size
components 98.2 KB (0%)
styles 39.99 KB (+0.02% 🔺)

@booc0mtaco booc0mtaco requested a review from a team as a code owner February 26, 2024 20:09
Copy link
Contributor

@ahuth ahuth left a comment

Choose a reason for hiding this comment

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

LGTM

@booc0mtaco
Copy link
Contributor Author

Screen.Recording.2024-02-26.at.13.47.59.mov

@booc0mtaco
Copy link
Contributor Author

@ahuth thanks 🙏

@booc0mtaco booc0mtaco merged commit 24ed8bc into next Feb 26, 2024
9 checks passed
@booc0mtaco booc0mtaco deleted the aholloway/EFI-1615 branch February 26, 2024 21:18
@booc0mtaco booc0mtaco mentioned this pull request Mar 4, 2024
booc0mtaco added a commit that referenced this pull request Mar 4, 2024
## [13.12.0](v13.11.0...v13.12.0) (2024-03-04)

[Storybook](https://61313967cde49b003ae2a860-telsscxlak.chromatic.com/?path=/docs/getting-started--docs)

### Features

* export ClickableStyleProps ([#1860](#1860)) ([0d1b49e](0d1b49e))
* **Select:** add support for required in overline ([#1855](#1855)) ([6e44566](6e44566))


### Bug Fixes

* lodash tree shaking ([#1852](#1852)) ([f55f9cb](f55f9cb))
* **Select:** add max height for Select.Options ([#1858](#1858)) ([24ed8bc](24ed8bc))
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

Successfully merging this pull request may close these issues.

2 participants