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

Scrolling broken when cursor hovering over overflowing textarea #139

Open
4 tasks done
tibineagu opened this issue Jul 12, 2022 · 1 comment · May be fixed by #140
Open
4 tasks done

Scrolling broken when cursor hovering over overflowing textarea #139

tibineagu opened this issue Jul 12, 2022 · 1 comment · May be fixed by #140

Comments

@tibineagu
Copy link

tibineagu commented Jul 12, 2022

  • Check FAQ and Caveats
  • Search if there's already one reported in Issues
  • Prepare a JSFiddle reproducing the issue
  • Provide a page or source code where the issue can be checked

Codesandbox Demo here

Steps to reproduce:

  • Have a container using PerfectScrollbar
  • Inside the container, have a <textarea> where the text overflows the maximum height of the textarea element, and therefore it has a scrollbar of its own)
  • The content inside the container must be more than its maximum height, in order for the PerfectScrollbar bars to appear
  • Scroll over the container
  • As the container scrolls, the cursor will end up over the textarea
  • Notice how the scroll starts acting strange, either when scrolling up or down, depending on whether the textarea is scrolled all the way to the top or to the bottom
  • The wheelPropagation option does nothing to alleviate this issue
  • If you hold your cursor anywhere outside the textarea, scroll still functions as expected
tibineagu added a commit to tibineagu/perfect-scrollbar that referenced this issue Jul 12, 2022
@tibineagu tibineagu linked a pull request Jul 12, 2022 that will close this issue
4 tasks
@tibineagu
Copy link
Author

@filipkappa @marveluck I've opened #140 to address this.

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

Successfully merging a pull request may close this issue.

1 participant