DatePicker only opens after 3 clicks
Hi, it seems that the datepicker only opens after I have given it 3 clicks. I even tried using the @onmousedown event and that does nothing for me.
I have added a focus event to open it upon focus which works fine with 1 click of the input box.
Code:
<EjsDatePicker TValue="DateTime?"
@ref="datepickerRef"
Placeholder='Velja dagsetningu'
Value='@DateValue'
Min='@MinDate'
Max='@MaxDate'
Format='dd.MM.yyyy'
@onmousedown="datepickerClicked">
<DatePickerEvents TValue="DateTime?" ValueChange="@onChange" Focus="FocusHandler"></DatePickerEvents>
</EjsDatePicker>
@ref="datepickerRef"
Placeholder='Velja dagsetningu'
Value='@DateValue'
Min='@MinDate'
Max='@MaxDate'
Format='dd.MM.yyyy'
@onmousedown="datepickerClicked">
<DatePickerEvents TValue="DateTime?" ValueChange="@onChange" Focus="FocusHandler"></DatePickerEvents>
</EjsDatePicker>
SIGN IN To post a reply.
5 Replies
SP
Sureshkumar P
Syncfusion Team
January 13, 2020 11:09 AM UTC
Hi Guðmundur,
Greetings from Syncfusion support.
We have checked your requirement and unfortunately, we could not reproduce the reported issue at our end. So, we have prepared the sample based on the provided code example and attached it below.
Sample Link: https://www.syncfusion.com/downloads/support/forum/150541/ze/DatePicker_150541-2128637649
Still, the issue persists, please revert us with below details that will help us to check and proceed further.
1. Issue reproducing sample
2. Code block of the fired event for DatePicker component
3. Any other configuration details enabled in your application
4. Modify the provided sample with the reported issue
Regards,
Sureshkumar P
GU
Guðmundur
January 13, 2020 11:59 PM UTC
Hi again, thank you for great service and response time.
I have tried your sample and it works 100% as expected but it is for server and I forgot to mention I am using Blazor Client. When I take your code from Index.razor and put it in a new Client project with the bare minimum required for just the datepicker to work I get the same behaviour (needs 3 clicks).
Another thing I notice which I previously thought was because I have a lot going on in the real Client App is the datepicker (and probably other things also) is lagging a bit but in the Server App in your sample it works without hesitation. I just haven't tested Server Blazor before so I didn´t know.
I have included my Datepicker_test Client app so you can see what I mean. Maybe you see something fatal that I am missing :)
Thanks,
Guðmundur
Attachment: Datepicker_test_94581ad7.zip
SP
Sureshkumar P
Syncfusion Team
January 14, 2020 09:27 AM UTC
Hi Guðmundur,
Greetings from Syncfusion support.
We were able to replicate your reported problem in the DatePicker component. We have confirmed this as a bug at our end. We will fix and include the solution on our next week patch release, which is expected to be rolled out on January 21st, 2020. Please be patient until then.
You can track the status of this problem by using the below feedback portal.
Regards,
Sureshkumar P
GU
Guðmundur
January 14, 2020 12:44 PM UTC
Thanks for that, no problem.
Glad to hear it´s on the right track.
GG
Gopi Govindasamy
Syncfusion Team
January 15, 2020 09:19 AM UTC
Hi Guðmundur,
Most Welcome. Let you know, once resolved the issue.
Regards,
Gopi G.
SIGN IN To post a reply.
- 5 Replies
- 3 Participants
-
GU Guðmundur
- Jan 10, 2020 11:19 AM UTC
- Jan 15, 2020 09:19 AM UTC