Commit c9fe778
committed
Fix vertical candidate window flickering
The flickering issue is more often found with the vertical candidate
window, likely due to the layout passes it needs to go through. This PR
makes sure that candidate window position is first set before the window
becomes visible.
This PR also switches to use dispatch queue for all delayed method
invocation. This makes sure that all such deferred actions are put in
the same queue, and so they will be performed in the expected order.1 parent 60a759b commit c9fe778
2 files changed
Lines changed: 8 additions & 4 deletions
File tree
- Packages/CandidateUI/Sources/CandidateUI
- Source
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
65 | 67 | | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
803 | | - | |
804 | 802 | | |
805 | 803 | | |
806 | 804 | | |
| |||
829 | 827 | | |
830 | 828 | | |
831 | 829 | | |
| 830 | + | |
| 831 | + | |
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
| |||
0 commit comments