Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-upload-collection-item): fixed keyboard navigation #3327

Merged
merged 9 commits into from
Jun 15, 2021

Conversation

TeodorTaushanov
Copy link
Member

@TeodorTaushanov TeodorTaushanov commented May 27, 2021

Part of #3092

  • rename on Enter
  • keep edit mode when focus out
  • shift+tab on "edit" button doesn't act as it is pressed
  • when edit and press "esc" button, the focus goes to the "edit" button
  • editing is working and after pressing "esc" key
  • "rename" event is fired correctly

- rename on Enter
- keep edit mode when focus out
- shift+tab on "edit" button doesn't act as it is pressed
- when edit and press "esc" button, the focus goes to the "edit" button
- editing is working and after pressing "esc" key
@TeodorTaushanov TeodorTaushanov requested review from fifoosid and a team May 28, 2021 11:15
Copy link
Contributor

@georgimkv georgimkv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the focus is on the Edit button of the item, pressing Enter makes it editable, then immediately changes it back to non-editable.

Activating the "Rename" button with Space doesn't do anything. This "Space" press is prevented in ListItem.js in the function _onkeydown. Same for "Cancel".

Run yarn hash and add the changed hash file to the commit.

Link the PR and commit by adding "Part of #3092" to the message

@georgimkv georgimkv requested review from ilhan007 and vladitasev June 7, 2021 14:20
@fifoosid fifoosid merged commit aad0c32 into master Jun 15, 2021
@fifoosid fifoosid deleted the UploadCollectionKeyboard branch June 15, 2021 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants