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: collapsable option for color pallette while drawing #7974

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

AdamLinCodes
Copy link

@AdamLinCodes AdamLinCodes commented May 2, 2024

Intro

Hello! I just graduated from CS, and have been using excalidraw for a long time to help with problem solving. During many of my experiences using this app, I've tried collapsing the colour palet, but found there was no option to do so. I also considered a draggable option for this, but I think the collapsable solution is better for UX.

Solution

I added an optional collapsable prop to the Island component so that the user can collapse it, and open it as they choose. This fix does not affect the island when it is in the smaller view port as it already has this option.

Uncollapsed
image

Collapsed
image

Copy link

vercel bot commented May 2, 2024

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

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview May 2, 2024 5:06am
excalidraw ✅ Ready (Inspect) Visit Preview May 2, 2024 5:06am
excalidraw-package-example ✅ Ready (Inspect) Visit Preview May 2, 2024 5:06am
excalidraw-package-example-with-nextjs ✅ Ready (Inspect) Visit Preview May 2, 2024 5:06am

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.

None yet

1 participant