Fixed an issue where stopPropagation in HTML Render prevents the use of the shortcuts service (#189)

# Pull Request

## 📖 Description

<!--- Provide some background and a description of your work. -->
This change allows the propagation of keyDown events so that the Shortcuts service can capture all keyDown events.

##  Checklist

### General

<!--- Review the list and put an x in the boxes that apply. -->

- [ ] I have added tests for my changes.
- [x] I have tested my changes.
- [ ] I have updated the project documentation to reflect my changes.
This commit is contained in:
Jane Chu 2022-01-21 13:40:12 -08:00 коммит произвёл GitHub
Родитель 14edd89e94
Коммит 8fec513979
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Fixed an issue where stopPropagation in HTML Render prevents the use of the shortcuts service",
"packageName": "@microsoft/fast-tooling",
"email": "7559015+janechu@users.noreply.github.com",
"dependentChangeType": "patch"
}

Просмотреть файл

@ -418,7 +418,6 @@ export class HTMLRender extends FoundationElement {
return true;
}
e.preventDefault();
e.stopPropagation();
return false;
}