jdtcn / BlazorDateRangePicker

A Blazor component for choosing date ranges and dates
MIT License
182 stars 35 forks source link

Calendar is transparent on show #103

Open PeterViau opened 3 months ago

PeterViau commented 3 months ago

Calendar is transparent on show with this code, it shows some of a DevExpress grid that is is covering

                                        <DateRangePicker style="background: #ffe;">

                                            <PickerTemplate>
                                                <div id="@context.Id" @onclick="context.Toggle" style="background: #fff; cursor: pointer; padding: 5px 10px; width: 250px; border: 1px solid #ccc;">
                                                    <i class="oi oi-calendar"></i>&nbsp;
                                                    <span>@context.FormattedRange @(string.IsNullOrEmpty(context.FormattedRange) ? "Choose dates..." : "")</span>
                                                    <i class="oi oi-chevron-bottom float-right"></i>
                                                </div>
                                            </PickerTemplate>
                                        </DateRangePicker>