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

Add resizer UI component #58

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ZanzyTHEbar
Copy link

This pull request adds a new UI component called "Resizer". The Resizer component allows for resizing elements in the UI by dragging the edges. It includes functionality for both horizontal and vertical resizing. The Resizer component is dependent on the "@solid-primitives/scheduled" packages.

Copy link

changeset-bot bot commented Jan 26, 2024

⚠️ No Changeset found

Latest commit: 3c70015

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

Copy link

vercel bot commented Jan 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
solid-ui-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 26, 2024 2:08pm

Copy link
Author

@ZanzyTHEbar ZanzyTHEbar left a comment

Choose a reason for hiding this comment

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

TODO: Setup the example, and refine anything requested by repo owners/maintainers.

@carere
Copy link

carere commented Feb 13, 2024

@ZanzyTHEbar I really need this feature, I copied your code into my project ui folders, do you have some advices about using this component ?
Some code examples would be great, even pseudo code :)

@ZanzyTHEbar
Copy link
Author

@ZanzyTHEbar I really need this feature, I copied your code into my project ui folders, do you have some advices about using this component ? Some code examples would be great, even pseudo code :)

Sorry for getting back to you so late - yes here is a gist.

@carere
Copy link

carere commented Feb 16, 2024

Thx for your answer but I ended using a modified version of solid-resizable-panels in order to resize severals panels on my app :)

@sek-consulting
Copy link
Owner

Thanks for the work you put in this component @ZanzyTHEbar :)
But for now I'm looking for something more in line to the resizable-panels component that shadcn/ui uses which might be solved by Corvu in a future update :)

But I want to keep this PR around and maybe make this a seperate component since it solves a different usecase :)

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.

None yet

3 participants