Hi Syncfusion Team,
I just found out in v18.1.0.57 has a bug in Popup Calendar, is not in correct place (under the control).
It didn't happen on previous version.
Below is the example code :
@page "/test"
@using Syncfusion.Blazor.Calendars
@using Syncfusion.Blazor.Inputs
<div class="container">
<div class="row">
<div class="col-md">
<SfDatePicker @ref="Date1"
@bind-Value="DateValue1"
TValue="DateTime"
Format="dd-MM-yyyy"
StrictMode="true"
Placeholder="From"
FloatLabelType="FloatLabelType.Auto">
<DatePickerEvents TValue="DateTime" Focus="FocusHandler1" />
</SfDatePicker>
</div>
<div class="col-md">
<SfDatePicker @ref="Date2"
@bind-Value="DateValue2"
TValue="DateTime"
Format="dd-MM-yyyy"
StrictMode="true"
Placeholder="To"
FloatLabelType="FloatLabelType.Auto">
<DatePickerEvents TValue="DateTime" Focus="FocusHandler2" />
</SfDatePicker>
</div>
</div>
</div>
@code {
SfDatePicker<DateTime> Date1 { get; set; }
SfDatePicker<DateTime> Date2 { get; set; }
DateTime DateValue1 { get; set; }
DateTime DateValue2 { get; set; }
protected override void OnInitialized()
{
base.OnInitialized();
DateValue1 = DateTime.Now;
DateValue2 = DateTime.Now;
}
void FocusHandler1(Syncfusion.Blazor.Calendars.FocusEventArgs args)
{
this.Date1.Show();
}
void FocusHandler2(Syncfusion.Blazor.Calendars.FocusEventArgs args)
{
this.Date2.Show();
}
}
Regards,
Handi Rusli