-
-
Notifications
You must be signed in to change notification settings - Fork 829
Conversation
+ Upload Confirmation dialog would just change focus on ESC and not close + Keywords Dialog in UserSettings would also close UserSettings because event bubbled up
Can one of the admins verify this patch? |
unsure I understand the fix here; isn't this going to intercept and deny any keyboard activity in the dialog? |
I need sleep
@ara4n and that is why thats my last commit today |
@lukebarnard1 i assume the onKeyDown() bit is yours - i don't follow the comment here; can you spell out precisely which bug & scenario switching from onKeyPress() to onKeyDown() fixes? |
So @t3chguy did a PR that after closing the dialog would refocus the thing that had focus prior to the dialog appearing #822. But because the shift of focus was happening
Resulting in every dialog affected appearing twice. |
and now because Escape is not caught onKeyDown other things are free to catch it and act upon it |
It's a shame that |
@lukebarnard1 any nice ways of doing that? |
so they don't trigger other things bubbling up until Modal is closed
@lukebarnard1 ptal |
…ialog-patch1"" This reverts commit 6bd7af2.
element-hq/element-web#1801 doesn't exist in /app/ yet does in /develop/ because of this