Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll in <textarea> almost working? #308

Open
omygoodness opened this issue Mar 28, 2021 · 0 comments
Open

Scroll in <textarea> almost working? #308

omygoodness opened this issue Mar 28, 2021 · 0 comments

Comments

@omygoodness
Copy link

omygoodness commented Mar 28, 2021

Hi,
I am trying to implement perfect scrollbar using resizible textarea. I tried both ways: Component and Directive but still, something is wrong/missing.

I prepared a simple example: here

  1. Using component approach, I can see rails but the scrollbar is not updating correctly and I can scroll 2px no matter what I do. I tried to use update() method on textarea input but it did nothing
  2. Using directive approach, I can scroll properly but I can't see rails because they are created inside textarea as HTML and I don't know any solution for that.

Did anyone successfully implemented this scrollbar within textarea?
Any ideas will be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant