Fix some completion docs render delays (#31486)

Closes #31460

While this is now much better than it was, the documentation still
flickers when changing selection. Hoping to fix that, but it will be a
much more involved change. So leaving release notes as "N/A" for now, in
anticipation of the full fix.

Release Notes:

- N/A
0d3fad7764Michael Sloan committed on 5/27/2025, 4:58:02 AM· committed by GitHubparent450a10f
4 files changedLine totals unavailable