When the cursor is at the end of a paragraph, or the selection is all the way to the end of the paragraph, the "toggle custom highlight" option doesn't show the dropdown color menu properly. It seems it is rendered off the screen(?)
The color menu is still functional in the sense that I can use the arrow keys and select a color with Enter, it's just not visible.
When the cursor/selection is not all the way at the end, it works as expected.
debug-info.txt