Skip to content

JSX props autocomplete stops working after polymorphic variant is declared #313

@Lomand

Description

@Lomand

Greetings,
Autocomplete works as expected if Ctrl+Space is pressed before a prop with polymorphic variant is declared,

image

and breaks if Ctrl+Space is pressed after it.

image

Repo with example:
https://github.com/Lomand/rescript-broken-autocomplete-jsx
Just add align=#Center in the Demo.res to reproduce the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions