Skip to content

Home and End keys are not processed correctly #138

Closed

Description

@Squidroot2

See PR here: #137

I ignorantly created a PR without being vouched. Sorry about that. According to your warning when making a vouch request, I shouldn't apply if my change is only a couple of lines, so I'm just making an issue.

A proper solution would probably be a function that takes a key code and tells if it should be associated with non-character input. I think page up and page down have the same problem.

Activity

  1. UncleJ4ck commented on Nov 9, 2026

    @UncleJ4ck
    Contributor

    opened #156 with your fix and test (your commit, authorship kept). ran the test both ways here: it passes with the change and fails without it (reverting just the onKey line breaks homeEndReachTextbox on keyPresses). nice catch on the keypad variants too. page up/down is a separate thing, can follow up if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions