Цей вебсайт матиме обмежену функціональність, доки ми проводимо його обслуговування для поліпшення роботи. Якщо прочитана стаття не розв'язала вашу проблему і ви хочете поставити питання, наша спільнота підтримки з радістю допоможе вам на @FirefoxSupport у Twitter та /r/firefox на Reddit.

Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

a text area every moment i edited dynamically the scroll bar goes to the top. i know it is not a problem with the website because it works with other browsers

  • 3 відповіді
  • 1 має цю проблему
  • 2 перегляди
  • Остання відповідь від sarafo

more options

there is a problem with the scroll bar of a text area. whenever it is edited dynamically the focus area moves to the top instead of holding the focus in the area of the new inserted text. even if i move it down by hand it goes up again.

there is a problem with the scroll bar of a text area. whenever it is edited dynamically the focus area moves to the top instead of holding the focus in the area of the new inserted text. even if i move it down by hand it goes up again.

Обране рішення

ok i fixed by code in my program. when i finished editing, i use this code in javascript. document.getElementById("chatMainTxt").scrollTop=document.getElementById("chatMainTxt").scrollHeight;

Читати цю відповідь у контексті 👍 0

Усі відповіді (3)

more options

here's a way to make scrolling more pleasant:

1. Start Firefox.

2. Click Tools, Options.

3. Click the Advanced icon, then look in the Browsing section.

4. Enable Use smooth scrolling, then click OK.

more options

its already activated. My problem is that when i try to edit the text area dynamically it refreshes and goes to the top

more options

Вибране рішення

ok i fixed by code in my program. when i finished editing, i use this code in javascript. document.getElementById("chatMainTxt").scrollTop=document.getElementById("chatMainTxt").scrollHeight;