Skip to content

[calendar] month cannot be changes using arrows using start/end calendars on endCalendar after selecting a future month on startCalendar #1851

@mgrulich

Description

@mgrulich

Bug Report

Many times its not possible to change to month using the arrow keys of the endCalendar after selecting a date within the startCalendar. After closing end reopening the selection window of the endCalendar its possible again.

Steps to reproduce

Today is: 2021-01-21
I can reproduce it on this page: https://fomantic-ui.com/modules/calendar.html

  1. I'm refreshing the Page using [Ctrl] + [F5]
  2. I'm selecting a date in the startCalendar with a date on a future month, like 2021-03-30.
  3. This will auto open the selection window from the endCalendar.
  4. Now its many times not possible to change the month using the arrows on the top.

Expected result

Pressing the arrows should change the current displayed month

Actual result

Nothing is happen, no change of month. (Also no errors in console)

Testcase

https://jsfiddle.net/yt1n06rb/1/

Screenshot (if possible)

fomantic-ui_calendar_issue

Version

2.8.7

Metadata

Metadata

Assignees

Labels

lang/javascriptAnything involving JavaScripttype/bugAny issue which is a bug or PR which fixes a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions