Skip to content

The border radius is not working and the blur is also not working #4733

@begeansma019

Description

@begeansma019

Duplicate Check

Describe the bug

Now that the yellow lines in the text in the Cupertino bottom sheet have been fixed the border radius no longer works and the blur also does not work

Code sample

Code
import flet as ft

def main(page: ft.Page):
    # Create bottom sheet (with content directly defined inside it)
    bottom_sheet = ft.CupertinoBottomSheet(
        content=ft.Container(
            content=ft.Column(
                controls=[
                    # Title: Centered at the top
                    ft.Text(
                        "About us",
                        size=24,
                        weight=ft.FontWeight.BOLD,
                        text_align=ft.TextAlign.CENTER,
                        font_family="Quicksand",  # Ensure font is specified
                    ),
                    # Descriptive text
                    ft.Text(
                        "Welcome to our application! We aim to provide the best services and solutions "
                        "to meet your needs. Our team is dedicated to ensuring customer satisfaction and "
                        "delivering exceptional results. Here's what we offer:\n\n"
                        "- High-quality products\n"
                        "- Reliable customer support\n"
                        "- Continuous innovation\n"
                        "- A commitment to excellence\n\n"
                        "Thank you for choosing us. We look forward to serving you!",
                        size=16,
                        text_align=ft.TextAlign.JUSTIFY,
                        font_family="Quicksand",  # Ensure font is specified
                    ),

                ],

                spacing=10,  # Space between the title and the paragraph

            ),
            padding=20,
            bgcolor=ft.colors.LIGHT_BLUE_50,
            border_radius=10,
            width=600,
            blur=50,
            alignment=ft.alignment.top_center,  # Align the container content at the top center
        ),
        padding=ft.Padding(0, 0, 0, 250),  # Add padding around the action sheet content

       
    )

    # Add the bottom sheet to the page (this ensures the control is in the page's control tree)
    page.add(bottom_sheet)

    # Open the bottom sheet after it's added to the page
    page.open(bottom_sheet)

ft.app(target=main)

To reproduce

Just run the program on a python ide

Expected behavior

There will be no border radius and the blur will not be displayed and also the container will take up the space of the whole page instead of part of it

Screenshots / Videos

Captures

Image

Operating System

Windows

Operating system details

Version 23H2 (OS build 22631.4602)

Flet version

pip install flet==0.26.0.dev4003

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

No response

Logs

Logs
[Paste your logs here]

Additional details

the border radius and blue used to work in the flet == 0.25.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions