Funkcionalnosć toś togo sedła se pśez wótwardowańske źěła wobgranicujo, kótarež maju wašo dožywjenje pólěpšyś. Jolic nastawk waš problem njerozwězujo a cośo pšašanje stajiś, wobrośćo se na našo zgromoźeństwo pomocy, kótarež na to caka, wam na @FirefoxSupport na Twitter a /r/firefox na Reddit pomagaś.

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

Focus while clicking scrollbars

  • 1 wótegrono
  • 0 ma toś ten problem
  • Slědne wótegrono wót Ashik T

more options

Issue Description: Typically, clicking on scroll bars doesn't cause the currently focused element to lose focus. However, when I click the scrollbar of an element with tabindex set to '-1', the focus is lost from the currently focused element. I'm unsure if this is the intended behavior or not, but it seems odd to me. I would appreciate it if someone could clarify whether this is a bug or intentional.

Steps to reproduce: 1. Focus on the input element. 2. Click on the scrollbar of the `ul` element.

You'll notice that the input element loses its focus. However, if you remove the `tabindex` attribute from the `ul` element and then click on the scrollbar, the input element retains its focus.

Sample code:

<input type='input'/>

  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
  • option
'''Issue Description''': Typically, clicking on scroll bars doesn't cause the currently focused element to lose focus. However, when I click the scrollbar of an element with ''tabindex'' set to '-1', the focus is lost from the currently focused element. I'm unsure if this is the intended behavior or not, but it seems odd to me. I would appreciate it if someone could clarify whether this is a bug or intentional. '''Steps to reproduce''': 1. Focus on the input element. 2. Click on the scrollbar of the `ul` element. You'll notice that the input element loses its focus. However, if you remove the `tabindex` attribute from the `ul` element and then click on the scrollbar, the input element retains its focus. '''Sample code''': <input type='input'/> <ul style='height: 200px; overflow: scroll; width: 200px' tabindex='-1'> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> <li>option</li> </ul>

Wšykne wótegrona (1)

more options

Apologies, the sample code got displayed here—it's something like this: " < input type='input'/> < ul style='height: 200px; overflow: scroll; width: 200px' tabindex='-1'>

 < li >option< / li >
 < li >option< / li >
 < li >option< / li >
 ....

< / ul> "

Wót Ashik T změnjony

Wužytny?

Stajśo pšašanje

Musyśo se pla swójogo konta pśizjawiś, aby na pśinoski wótegronił. Pšosym stajśo pšašanje, jolic hyšći njamaśo wužywaŕske konto.