Skip to content

[Calendar]: Cannot trigger next/prev month buttons with Enter key #13430

@PlutaKatarzyna

Description

@PlutaKatarzyna

Bug Description

Previous and next month arrow buttons are not activated after enter key is pressed. They are working with mousedown, but not enter key down. Month and year buttons are working fine.

Image

Affected Component

Calendar, Date Picker, Date Range Picker

Expected Behaviour

When Prev or Next month calendar buttons are focused and user press Enter key, calendar preview should switch to next or previous month accordingly.

Isolated Example

https://ui5.github.io/webcomponents/components/DatePicker/

Steps to Reproduce

  1. Reach Calendar either Calendar component itself of with Date Picker
  2. Focus of arrow button
  3. Press Enter Key and see that nothing is happenning

Log Output, Stack Trace or Screenshots

No response

Priority

High

UI5 Web Components Version

2.21.1

Browser

Chrome

Operating System

No response

Additional Context

UDEx dependencies:
https://github.tools.sap/sapudex/digital-design-system/issues/3179
https://github.tools.sap/sapudex/digital-design-system/issues/3151

Organization

SAP UDEx Components & Tokens

Declaration

  • I’m not disclosing any internal or sensitive information.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions