Skip to content

Selecting next/previous month is confusing when selectOtherMonths is active #2208

Open
@jlherren

Description

@jlherren

When selectOtherMonths is active and a day from another month is selected, the "Previous month" and "Next month" buttons behave in a confusing way, where they skip over a month (or do nothing when going the other way).

Reproduction example: https://jsfiddle.net/wb43muyz/

Steps to reproduce:

  1. Select Feb 1 (at the bottom, don't use the next month buttons).
  2. Click on the "Next month" button.
  3. You have now jumped from January to March.

It would be less confusing if the next/previous buttons would take the currently shown month as basis, instead of the currently selected date.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions