Skip to content

Conversation

@siddharthkp
Copy link
Member

@siddharthkp siddharthkp commented Feb 9, 2024

I was under the false impression that SelectPanel should retain it's height, but we do want it to resize with contents!

Before:

selectpanel-static.mov

After:

selectpanel-auto-resize.mov

@siddharthkp siddharthkp self-assigned this Feb 9, 2024
@siddharthkp siddharthkp requested a review from a team February 9, 2024 16:06
@changeset-bot
Copy link

changeset-bot bot commented Feb 9, 2024

🦋 Changeset detected

Latest commit: e9bff98

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@siddharthkp siddharthkp changed the title Experimental SelectPanel2: Automatically adjust height based on contents SelectPanel2: Automatically adjust height based on contents Feb 9, 2024
@siddharthkp siddharthkp requested a review from joshblack February 9, 2024 16:08
@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2024

size-limit report 📦

Path Size
packages/react/dist/browser.esm.js 113.38 KB (0%)
packages/react/dist/browser.umd.js 114.03 KB (0%)

@siddharthkp siddharthkp added this pull request to the merge queue Feb 12, 2024
Merged via the queue into main with commit d79a419 Feb 12, 2024
@siddharthkp siddharthkp deleted the drafts-selectpanel-autoheight branch February 12, 2024 16:14
@primer primer bot mentioned this pull request Feb 12, 2024
lukasoppermann pushed a commit that referenced this pull request Apr 16, 2024
* replace height with maxHeight

* adjust height of loading & message based on container

* remove redundant height from stories

* Create strange-starfishes-work.md

* fix bad merge
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.

4 participants