garysieling / garysieling/jquery-highlighttextarea

Messes up page

Open
#68 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
157
Forks
72
PR merge metrics
No merged PRs in 30d

Description

This is a really useful project and I was excited to try it out.
As soon as the script is activated the textarea's height is changed and it creates a sort of mirroring effect with the highlighted and uneditable text above and the normal text in the textarea below.

I've taken some looks at the code and it seems as though the highlight elements adapts the textarea's CSS and I think this is what's caused the issue. I was able to manually change the CSS and I got close to making it work and look good, but once the page is resized it gets messed up again.

Any ideas on what the cause might be?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.