Skip to content

Completion menu flashes on keystrokes #1246

@AndiLavera

Description

@AndiLavera

The completion menu is fast but renders several different states in milliseconds, resulting in flashes on each keystroke.

See video:
https://github.com/user-attachments/assets/045f7508-1a75-4aeb-b2ae-f12cf53bdecf

Screenshots

Right after typing a before acm has updated

Image

First state change:

Notice the width of the completion choices grew.
Image

Second state change

Popup documentation grew and is rendering markdown
Image

Final state

Popup documentation rerenders, no longer markdown
Image

Potential Solutions

For growing/shrinking, set a width for the menu and popup documentation so they stay constant, regardless of content.
For the documentation popup, maybe we can defer the rendering until the markdown rendering has completed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions