Blazor DateRangePicker FloatLabelType.Auto Bug

Hello,

I see an interesting bug with SFDateRangePicker when FloatLabelType is set to "FloatLabelType.Auto". 

When you open the DatePicker popup by clicking the calendar icon without clicking the text field before, the text field is distorted, as seen in the picture.
If you first click the text field, this bug does not occur despite how many times you open the calendar popup.
Screenshot 2021-07-03 at 12.07.23.png

It doesn't happen with either FloatLabelType.Never or FloatLabelType.Always.

Additionally, you will also see that the SFDateRangePicker with FloatLabelType.Never has a higher baseline than the others, thus not aligning with them:


Screenshot 2021-07-03 at 12.15.40.png
I have attached the example project.


Attachment: BlazorWebSfDateRangeBug_a1ec037c.zip

4 Replies

BC Berly Christopher Syncfusion Team July 5, 2021 11:48 AM UTC

Hi Ahmet, 
  
Greetings from Syncfusion support. 
  
Issue 1: 
  
When you open the DatePicker popup by clicking the calendar icon without clicking the text field before, the text field is distorted, as seen in the picture. 
  
Response: 
  
We were able to reproduce the reported issue. So, we will validate and update the further details in two business days (7th July 2021). 
  
Issue 2: 
  
Additionally, you will also see that the SFDateRangePicker with FloatLabelType.Never has a higher baseline than the others, thus not aligning with them. 
  
Response: 
  
We were able to reproduce the reported issue at our end. So, we will validate and update the further details in two business days (7th July 2021). Until then, please use the below work around solution to get rid of the reported issue. 
  
<div class="form-row">     
    <div class="col-md-4"> 
        <SfDateRangePicker CssClass="e-custom" TValue="DateTime?" 
                           FloatLabelType="FloatLabelType.Never" 
                           Placeholder="Choose - Float Never"> 
        </SfDateRangePicker> 
    </div>     
</div> 
<style> 
    .e-custom.e-input-group, .e-custom.e-input-group.e-control-wrapper { 
        margin-top: 16px; 
    } 
</style> 
 
  
  
Regards, 
Berly B.C 



BC Berly Christopher Syncfusion Team July 7, 2021 12:22 PM UTC

Hi Ahmet, 
  
Thanks for the patience. 
  
Issue 1: 
  
When you open the DatePicker popup by clicking the calendar icon without clicking the text field before, the text field is distorted, as seen in the picture.  
  
Response: 
  
We have confirmed the reported issue as a bug at our end and this fix will be included in our weekly patch release which is expected to be rolled out on 20th July 2021. We appreciate your patience until then. 
  
Please track the status of this issue from the below feedback link. 
  
  
Issue 2: 
  
Additionally, you will also see that the SFDateRangePicker with FloatLabelType.Never has a higher baseline than the others, thus not aligning with them.  
  
Response: 
  
As we mentioned earlier, we suggest you to use the solution by CSS level in the application itself.  
  
Regards, 
Berly B.C 



AH Ahmet replied to Berly Christopher July 7, 2021 10:52 PM UTC

Thanks a lot, looking forward to seeing the next version.



BC Berly Christopher Syncfusion Team July 20, 2021 09:35 AM UTC

Hi Ahmet,

 
Thanks for your patience.   


 
We are glad to announce that fix for the issue “If floatLabelType auto then black border is applied in the DateRangePicker input element" has been rolled out in the weekly patch release 19.2.47. We request you to update the Nuget to latest version to get rid of this issue.   
                                                                                                     

 
Please find the release notes from the below link.   


 
  
Please let us know if you need any further assistance on this.   
 


  
Regards,   
Berly B.C 


Loader.
Up arrow icon