-
Notifications
You must be signed in to change notification settings - Fork 17
Closed
Labels
bugSomething isn't workingSomething isn't workingjiraThis task is referenced in a story of JiraThis task is referenced in a story of Jira
Description
Describe the bug
This bug seems to be related to #1515. The components that don't work as expected are Dropdown and Calendar.
Dropdown: When pressing up and down keys, the focus gets stuck in the last item, no matter what.Calendar: When pressing it, it won't open.
It seems that the bug is related to the way focus events are handled, as both of those components are calling element.focus() at the same time as the FocusLock
To Reproduce
Example:
- Create a new React app using Vite.
- Install
@dxc-technology\halstack-reactpackage. - Put
DxcDropdownorDxcCalendarinside aDxcDialog - Interact with the component inside the
DxcDialog
Expected behaviour
Both components must work the same way they do when they are outside of a Dialog
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingjiraThis task is referenced in a story of JiraThis task is referenced in a story of Jira