Open deffcolony opened 1 year ago
This line minimizes the text area (causing the window to scroll up), but it is needed to update the scrollHeight
property.
https://github.com/jellyfin/jellyfin-web/blob/b2f3720282eb65687ec38bc233e6f9661bbcd6ee/src/elements/emby-textarea/emby-textarea.js#L56
Hey @dmitrylyzo can you assign this issue to me, I want to work on this issue
Please describe your bug
The bug
When interacting with the custom CSS container in the web app, there is a noticeable issue with the cursor and scrolling behavior. The problem occurs when the text within the container becomes long enough to require scrolling. At that point, two main issues are observed:
Jumping Cursor: Whenever I click on the container to insert or edit text, the cursor unexpectedly jumps to the top of the textarea, causing inconvenience and difficulty in editing long CSS code.
Unwanted jump when typing: Additionally, when I type or make changes to the text, the container automatically jumps to the bottom, making it difficult to keep track of the changes and causing confusion.
Steps to Reproduce:
Navigate to "Administration" > "Dashboard" > "General."
Add a long CSS code or enter random text in the container, causing it to expand and require scrolling.
Click on the container to interact with it.
Expected Behavior:
When clicking on the container, the cursor should remain at the clicked position, and there should be no annoying jump to the top.
Jellyfin Version
10.8.z
if other:
10.8.10
Environment
Jellyfin logs
No response
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
https://github.com/jellyfin/jellyfin/assets/61471128/aad3aea2-ca86-4972-870c-e81d0239981a
Code of Conduct