jellyfin / jellyfin-web

Web Client for Jellyfin
https://jellyfin.org
GNU General Public License v2.0
2.31k stars 1.24k forks source link

[10.8.0 Beta 3] Webpage jumps up and down when editing custem css #3665

Open StevMaHo opened 2 years ago

StevMaHo commented 2 years ago

Describe The Bug Webpage jumps down and up when editing custem css happens on mobil app and browser webpage

Steps To Reproduce

  1. Go to 'edit custem css '
  2. make a change in css (css needs to be long enough to sroll)
  3. See error

Expected Behavior Webpage stays in place

System (please complete the following information):

dmitrylyzo commented 2 years ago

Textarea is updated according to the entered text: https://github.com/jellyfin/jellyfin-web/blob/1efd07ab2fee30e82f71d3dfabd1d62db160f32a/src/elements/emby-textarea/emby-textarea.js#L39-L65

It seems to scroll so that the cursor is at the bottom of the window.