Skip to content

autoheight is not working when editing an existing PR comment #90

@nedtwigg

Description

@nedtwigg
  • this is true when editing the root PR comment or a non-root comment
  • autoheight is working great when editing and issue comment

enhance(textArea: HTMLTextAreaElement, spot: GitHubEditSpot): OverTypeInstance {
prepareGitHubHighlighter()
const overtypeContainer = modifyDOM(textArea)
const overtype = new OverType(overtypeContainer, {
...commonGitHubOptions,
padding: spot.isIssue ? 'var(--base-size-16)' : 'var(--base-size-8)',
})[0]!
if (!spot.isIssue) {
// TODO: autoheight not working
}
return overtype
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions