hex/ios/HEXShared/FullKeyboard/Emoji
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Ryan Vogel 7b819316d9
iOS keyboard: every point of the emoji panel takes touches, so a glide can be caught (#2547)
TestFlight build 147: "the animation in the emoji section is not cancelable.
So I have to wait for my swipe animation to happen completely before I can
swipe again." iOS hands a keyboard extension only the touches that land on
something its layers draw. The emoji panel and the search's results row are
clear, so a finger landing between two emoji, in the 3-6 pt between two rows
or beside a category icon never reached the keyboard at all (not even its
window): a glide went on to its end, a second fling did nothing, and a swipe
that started in a gap didn't scroll. Where the finger lands on an emoji it
always worked, which is why it felt random.

Both views now have an invisible fill (UIColor.keyboardTouchFill, 0.1% black)
under their clear look. Removed nothing. docs/keyboard.md says why.

Verified on the iOS 27.2 simulator, Studio load average 55-70, with a probe
build that switches the fill (probe in a scratch worktree only):
- iPhone 17 Pro, 12 flings each caught by a finger mid-glide: without the
  fill 4 of 12 flings scrolled at all (the rest started in a gap) and 1 of
  those 4 catches never reached the keyboard; with it 12 of 12 scrolled and
  12 of 12 were caught at once (0 pt further), the touch seen 2-16 ms late.
- iPhone 15 Pro, the same: 0 of 12 flings scrolled without the fill, 12 of
  12 scrolled and were caught with it (seen 3-18 ms late).
- A finger in a row gap mid-glide: 0 of 3 reached the keyboard before, 3 of 3
  caught after. A slow drag from a gap: did nothing (3 of 3) before, scrolled
  210 pt and back (3 of 3) after. Taps at rest in gaps: none seen before,
  all after.
- Apple's emoji keyboard and a bare UICollectionView in an app stop a glide
  at a touch in the same places.
- The panel looks the same: light and dark screenshots differ by at most
  2/255 on 38-85 of 1.4 million panel pixels (the glass's rounded edge).
- New case in EmojiPanelLettersKeyTests: every point 4 pt apart of the open
  panel and the results row draws; it fails without the fill (4,649 and 626
  points).
2026-11-23 12:45:02 -05:00
..
emoji-index-de.txt iOS: "heart" offers ❤️; the whole-name rule moves into the emoji index (#2465) 2026-11-22 22:20:13 -05:00
emoji-index-en.txt iOS: "heart" offers ❤️; the whole-name rule moves into the emoji index (#2465) 2026-11-22 22:20:13 -05:00
emoji-index-es.txt iOS: "heart" offers ❤️; the whole-name rule moves into the emoji index (#2465) 2026-11-22 22:20:13 -05:00
emoji-index-nb.txt iOS: "heart" offers ❤️; the whole-name rule moves into the emoji index (#2465) 2026-11-22 22:20:13 -05:00
EmojiGlyphs.swift iOS: emoji panel memory, category taps, an eight-column Frequently used, and the system's look (#2142) 2026-11-21 04:31:34 +00:00
EmojiLibrary.swift iOS keyboard: stop leaking views, capture web views, and emoji indices across shows (#2352) 2026-11-22 06:45:38 -05:00
EmojiPanelView.swift iOS keyboard: every point of the emoji panel takes touches, so a glide can be caught (#2547) 2026-11-23 12:45:02 -05:00
EmojiShortcode.swift ios: emoji shortcodes experiment in the keyboard (#2432) 2026-11-22 15:57:16 -05:00
EmojiSuggester.swift iOS: "heart" offers ❤️; the whole-name rule moves into the emoji index (#2465) 2026-11-22 22:20:13 -05:00
EmojiUsageStore.swift ios: emoji shortcodes experiment in the keyboard (#2432) 2026-11-22 15:57:16 -05:00
EmojiViews.swift iOS keyboard: every point of the emoji panel takes touches, so a glide can be caught (#2547) 2026-11-23 12:45:02 -05:00
LICENSE-Unicode.txt iOS: emoji panel with on-device suggestions (Experiments › Emoji) (#2051) 2026-11-20 15:53:24 +00:00