FR: Close the selection popup after picking a highlight color
What problem would this feature solve?
When I select text and pick a highlight color from the selection popup's color strip, the highlight is applied, but the popup stays open. To continue reading I always have to tap outside the popup to dismiss it, so "highlight and keep reading" is effectively a two-step action on every single highlight.
Describe the solution you'd like.
After tapping a color swatch in the highlight options strip, automatically dismiss the selection popup and clear the selection.
Picking a color is the natural end of the highlighting flow: once the color is chosen, the highlight is done and the popup no longer serves a purpose. However, picking a style (highlight/underline/squiggly) should not auto-dismiss, so users can still choose a style first and then a color.
If keeping the current behavior as default is preferred, this could alternatively be gated behind a setting (e.g. "Close popup after highlighting").
Describe workarounds you may have used to acheive the same results.
- Tapping outside the popup after every highlight (an extra tap on every single highlight).
- Using the annotation quick action set to "Instant Highlight", but then using dictionary is more difficult.
Additional Context
Related prior work:
- #5983 / PR #6031 introduced one-tap highlighting by showing the highlight options immediately with the popup. This FR is a natural follow-up to that flow.
Implementation-wise this seems small: HighlightOptions' color-click handler could invoke the popup's existing onDismiss (the same path as tapping outside) after onHandleHighlight(true).
Source: readest/readest