Commit 1e328ca
fix(settings): stop the stepper bubble flashing black over the keyboard
The NumberUpDown stepper bubble is a Popup (its own window). Drawing it while the
window is still resizing for the keyboard / scrolling the field into view flashed
it as a black rectangle just above the keyboard. The old mitigation was a fixed
250 ms delay, which a slower phone (or a field low in a long list like the new
InMotion PIN, which scrolls a lot) outruns - so the bubble appeared mid-animation
and flashed.
Gate the reveal on the IME animation actually finishing (ime inset stable and
non-zero) instead of a fixed delay, with a 600 ms fallback so a hardware keyboard
or a window without ime insets still shows the stepper. No behaviour change once
settled; the fade-in is unchanged. Affects every NumberUpDown field.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GADLyChheAoMX9dQbRgRnH1 parent b452364 commit 1e328ca
1 file changed
Lines changed: 21 additions & 4 deletions
Lines changed: 21 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
1570 | 1573 | | |
1571 | 1574 | | |
1572 | 1575 | | |
| 1576 | + | |
1573 | 1577 | | |
1574 | 1578 | | |
1575 | 1579 | | |
| |||
1687 | 1691 | | |
1688 | 1692 | | |
1689 | 1693 | | |
1690 | | - | |
1691 | | - | |
1692 | | - | |
| 1694 | + | |
| 1695 | + | |
| 1696 | + | |
| 1697 | + | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
1693 | 1702 | | |
1694 | 1703 | | |
1695 | 1704 | | |
1696 | 1705 | | |
1697 | 1706 | | |
1698 | 1707 | | |
| 1708 | + | |
| 1709 | + | |
| 1710 | + | |
| 1711 | + | |
| 1712 | + | |
| 1713 | + | |
| 1714 | + | |
| 1715 | + | |
1699 | 1716 | | |
1700 | | - | |
| 1717 | + | |
1701 | 1718 | | |
1702 | 1719 | | |
1703 | 1720 | | |
| |||
0 commit comments