Skip to content

[BUG] ActionSheet dimensions are too small for the Bootstrap and Material themes #5675

@dimodi

Description

@dimodi

Bug Description

The Material theme contains (max-)width and (max-)height styles for the ActionSheet, which are too small for the Bootstrap and Material themes. As a result, an adaptive DatePicker either clips the Calendar or shows scrollbars.

Steps to Reproduce

Remove the <style> tags, select the Material theme, shrink the Preview pane and open the DatePicker.

https://blazorrepl.telerik.com/wJFPlROt114AFMK130

https://blazorrepl.telerik.com/cfbvPxuX12jP8Hoz36

Expected Behavior

The whole Calendar is visible.

Actual Behavior

The Calendar is clipped or triggers scrollbars.

Screenshots/Videos

https://supportheroes.telerik.com/ticket/1702894

Affected Component(s)

Please specify the component(s) where the bug occurs: ___________

Affected Suites

  • All

Browser Information

  • All browsers

Workaround

    div.k-actionsheet {
        height: 720px;
        max-height: 720px;
    }
    .k-adaptive-actionsheet .k-actionsheet-content,
    .k-adaptive-actionsheet .k-actionsheet-footer {
        width: min(100%, 480px);
    }

Additional Context

The customer claims the problem occurred after the Material design updates.


Metadata

Metadata

No fields configured for Maintenance.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions