jdtcn / BlazorDateRangePicker

A Blazor component for choosing date ranges and dates
MIT License
186 stars 34 forks source link

Calendar is transparent on show #103

Open PeterViau opened 5 months ago

PeterViau commented 5 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>