Skip to content

Switch UI element doesn't resize when in a smaller container #1785

@MaximeDelhorme

Description

@MaximeDelhorme

Has your issue been reported?

  • I have searched the existing issues and confirm it has not been reported.
  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

The switch UI element doesn't shrink when placed in a container of smaller size

Expected Behavior

The switch UI element should resize to the height of the container

Steps to Reproduce

  1. Create a page
  2. Create a container
  3. Give container height = 20
  4. Create switch inside the container

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT40jMrq081NodhE18/+ccB7/Ck5JWI8a+cvj+x7aCgsfL7uOpkIYPXsTBBpZ7GlYH9Ie0SmmmEE7tb7ueHXOvACB0mdba5jyJBxETnJQlutUZOBPZOCW2hAJ59jCGqYyqS3uiN5JtZ0WF4460OqBu+sQgHYCYC2IlFISq/LZO4=

Context

Not able to create the design wanted from the client

Visual documentation

image

Additional Info

No response

Environment

- FlutterFlow version: v4.0 (released November 4, 2023)
- Platform: Web
- Browser name and version: Chrome version 113.0.5672.126
- Operating system and version affected: macOS Monterey 12.5

Metadata

Metadata

Labels

status: needs triageA potential issue that has not been confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions