Skip to content

DateRangePicker: adding cellBuilder makes selected date square #2302

Open
@joachimbulow

Description

@joachimbulow

Bug description

version: ^27.2.5

This may not be a bug, but as soon as i provide a custom cellBuilder my selected date cell is enforced with square properties on the overlay.

Not sure if there is a way to override this?
Pretty odd behaviour imo.

Tried looking into selectionShape, adding hard properties to the cell builder function, to no avail

Steps to reproduce

Step 1: Add a default SfDateRangePicker to your app.
Step 2: Add a cellBuilder returning a circular container with the date text inside.
Step 3: Select a date. The Overlayed color is square instead of circle.

Code sample

Code sample
[Add your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Stack Traces

Stack Traces
[Add the Stack Traces here]

On which target platforms have you observed this bug?

iOS

Flutter Doctor output

Doctor output
[Add your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions