Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: enable sash size to be customised in code #101

Merged
merged 4 commits into from
Dec 26, 2021

Conversation

johnwalley
Copy link
Owner

@johnwalley johnwalley commented Dec 26, 2021

This PR currently sets the sash size globally for all Allotment components. Obviously, setting a prop on a React component should only affect that component. We can either address this in this PR or leave this undocumented for now and tidy up in a follow-up PR.

@netlify
Copy link

netlify bot commented Dec 26, 2021

✔️ Deploy Preview for allotment-storybook ready!

🔨 Explore the source changes: f86ee25

🔍 Inspect the deploy log: https://app.netlify.com/sites/allotment-storybook/deploys/61c89782e6cf760007a9276d

😎 Browse the preview: https://deploy-preview-101--allotment-storybook.netlify.app

@johnwalley
Copy link
Owner Author

It would be nice to give an example where dragging the sash on mobile does not cause the contents of panes to be selected.

@johnwalley johnwalley changed the title feat: enable sash size to be customised using a prop feat: enable sash size to be customised in code Dec 26, 2021
@johnwalley johnwalley merged commit f177e48 into main Dec 26, 2021
@johnwalley johnwalley deleted the configure-sash-with-code branch December 26, 2021 16:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant