openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Calendar Special Dates Not showing for previous or next month

Open hendry-sudrajat opened this issue 2 years ago • 4 comments

OpenUI5 version: 1.103 Browser/version (+device/version): Chrome Version 103.0.5060.11

Any other tested browsers/devices(OK/FAIL): FAILE

URL (minimal example if possible):

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. Add calendar element to page
  2. add special date to calendar, using method addSpecialDate. Set start date to 28th June 2022
  3. View the Calendar for the month of July 2022
  4. The special date on 28th June is not shown.

What is the expected result? Special date on 28th June should be shown when viewing the month of July2022 What happens instead? Special date is not shown

Any other information? (attach screenshot if possible) This feature was working for version 1.88

hendry-sudrajat avatar Jul 21 '22 07:07 hendry-sudrajat

Hello @hendrysap, Thank you for sharing this finding. Can you provide us with isolated scenarios where this problem is reproduced? I've tried and can't reproduce the problem.

Regards, Todor

Todor-ads avatar Jul 22 '22 07:07 Todor-ads

Hi Todor, This is how you can simulate. Get a reference to a sap.ui.unified.Calendar object, and use the addSpecialDate method to add a date for 28th June 2022. Regards, Hendry

hendry-sudrajat avatar Jul 22 '22 07:07 hendry-sudrajat

Screenshot 2022-07-22 154007

hendry-sudrajat avatar Jul 22 '22 07:07 hendry-sudrajat

Hello @hendrysap , Thank you for sharing this finding. I've created an internal incident 2280170066. The status of the issue will be updated here in GitHub. All the best, Florian

flovogt avatar Aug 25 '22 05:08 flovogt

Hi @hendrysap ,

The reported behavior is expected and this is introduced in version 1.93 - the special days as well as weekend days are not "whited" (not colored or marked) in the days outside the current month.

Best Regards, Nikolay Hristov SAPUI5 SAP Development Support

NHristov-sap avatar Nov 22 '22 15:11 NHristov-sap