keymanapp / keymanapp/keyman

feat(web): subkey menu realignment when subkey columns are even

Open
#9,768 1 comment 0 reactions 0 assignees View on GitHub
feat web/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

> One small thing, the popup is typically centered over the key if space allows. When there is an odd number of columns, one choice will always be preselected if you don't move your finger. That's great and repeatable. Most of my keys have only one popup, which happens to be an odd number.
>
> Unfortunately, when there are an even number of columns, it's ambiguous/fidgety which one will be selected. I don't know how many of us can regularly hit the left or right side of a key.
>
> ![Screenshot_20231012-113624~2.png](https://github.com/keymanapp/keyman/assets/986339/df23e754-9cb8-4ced-8d61-fb4966650114)
>
> What do you think about shifting the popup display half a key left or right when there is an even number of columns so that one "default" key is unambiguously selected? If possible, I suggest it could be shifted a half-key left when the base key is on the right side of the screen (O) and a half-key right when the base key is on the left side of the screen (E).
>
> Gboard does this realignment:
>
> ![Screenshot_20231012-115454.png](https://github.com/keymanapp/keyman/assets/986339/6f2e2c58-f5fd-441c-bac0-8cff53d9161b)

_Originally posted by @MattGyverLee in https://github.com/keymanapp/keyman/issues/9698#issuecomment-1759375134_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.