Skip to content

[DropZone] Consider making height variable by default #4137

@WillsonSmith

Description

@WillsonSmith

Feature request summary

Change DropZone so that its height is determined by its children by default. This would be a breaking change as it breaks default behaviour.

Rationale

Right now, DropZone has 4 sizes: small, medium, large, and extraLarge. These are calculated based on the width of the DropZone. These sizes determine the min-height of the component. This means you cannot have a DropZone that is narrower than the set height at a given size.

I've opened a PR - #4136 to add a prop which will make the height of the DropZone conform to the height of its children, but it feels odd that this is not the default behaviour.


🌟 Feature requests that are not yet planned will be closed. We then use the issue’s 👍 upvotes to track and set priorities. See the contribution guidelines for more information.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions