Skip to content

Stop propagation for HOME and other keys#1366

Merged
JiuqingSong merged 2 commits intomasterfrom
u/jisong/homekey2
Oct 27, 2022
Merged

Stop propagation for HOME and other keys#1366
JiuqingSong merged 2 commits intomasterfrom
u/jisong/homekey2

Conversation

@JiuqingSong
Copy link
Collaborator

We have code to stop propagation for character keys. We can expand this logic for the following keys as well:

  • Home
  • End
  • PageUp
  • PageDown
  • Left
  • Right
  • Up
  • Down

Because these keys are already handled by editor, so no need to expose them to parent containers.

@JiuqingSong JiuqingSong merged commit 01d6911 into master Oct 27, 2022
@JiuqingSong JiuqingSong deleted the u/jisong/homekey2 branch October 27, 2022 17:39
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.

3 participants