Skip to content

DatePicker RTL issue: Prev and Next buttons not working as expected #3821

Description

@srikanthreddyk

Bug Report

  • Package version(s): latest
  • Browser and OS versions: Chrome, FF, Edge, Safari

Priorities and help requested (not applicable if asking question):

Are you willing to submit a PR to fix? Yes

Requested priority: Normal

Describe the issue:

The previous and next month arrows in the datePicker are not working as expected in the RTL view. Also, their positioning is a bit wrong.

In RTL view currently

  1. Clicking on up arrow takes me to next month and down arrow to previous month which is exactly opposite from LTR view functionality of these buttons. But in both RTL or LTR view, they should behave in the same way.
  2. The position of the up arrow is to the left side of the down arrow in both the views. This shouldn't be the case. In RTL, up arrow should be on the right side of down arrow.

Below is a snapshot of LTR view and RTL view respectively
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions