-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
- this is true when editing the root PR comment or a non-root comment
- autoheight is working great when editing and issue comment
gitcasso/src/lib/enhancers/github/GitHubEditEnhancer.tsx
Lines 53 to 64 in bc3c684
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
Labels
bugSomething isn't workingSomething isn't working