Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calendar - Range Selection “remembers” previous interval end #6781

Closed
1 task done
blaesius opened this issue Mar 23, 2023 · 1 comment · Fixed by #6836
Closed
1 task done

Calendar - Range Selection “remembers” previous interval end #6781

blaesius opened this issue Mar 23, 2023 · 1 comment · Fixed by #6836
Assignees
Labels
bug This issue is a bug in the code Medium Prio TOPIC B

Comments

@blaesius
Copy link

Bug Description

After selecting a range, if you try to select a different one, the Calendar remembers the end of the previous one and on selecting a start of the new range, displays the days in between as a range.

Affected Component

No response

Expected Behaviour

No response

Isolated Example

https://sap.github.io/ui5-webcomponents/playground/components/Calendar/

Steps to Reproduce

...

Log Output, Stack Trace or Screenshots

image

Priority

Medium

UI5 Web Components Version

1.11.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@blaesius blaesius added the bug This issue is a bug in the code label Mar 23, 2023
@nnaydenow
Copy link
Contributor

Hi @SAP/ui5-webcomponents-topic-b,

You can reproduce the problem as described by the reported.

Open https://sap.github.io/ui5-webcomponents/playground/components/Calendar/, navigate to Calendar with Selection Mode Range and select date range.

ilhan007 pushed a commit that referenced this issue Apr 4, 2023
When selecting a date range in the Calendar with selection mode Range, if you select a new start date (and thus have only one date selected), a range of dates have their background color set to light blue indicating they are in the selected date range. This is incorrect since there is only one date selected and therefore no date range yet.

Fixes #6781
didip1000 pushed a commit that referenced this issue Apr 4, 2023
When selecting a date range in the Calendar with selection mode Range, if you select a new start date (and thus have only one date selected), a range of dates have their background color set to light blue indicating they are in the selected date range. This is incorrect since there is only one date selected and therefore no date range yet.

Fixes #6781
@tsanislavgatev tsanislavgatev self-assigned this Apr 7, 2023
NHristov-sap pushed a commit that referenced this issue May 4, 2023
When selecting a date range in the Calendar with selection mode Range, if you select a new start date (and thus have only one date selected), a range of dates have their background color set to light blue indicating they are in the selected date range. This is incorrect since there is only one date selected and therefore no date range yet.

Fixes #6781
PetyaMarkovaBogdanova pushed a commit that referenced this issue Jun 20, 2023
When selecting a date range in the Calendar with selection mode Range, if you select a new start date (and thus have only one date selected), a range of dates have their background color set to light blue indicating they are in the selected date range. This is incorrect since there is only one date selected and therefore no date range yet.

Fixes #6781
@petyabegovska petyabegovska moved this to Completed in Maintenance - Topic B Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Medium Prio TOPIC B
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

3 participants