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:
Родитель
14edd89e94
Коммит
8fec513979
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче