mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:02:46 +08:00
fe8d9b6b4e
On iOS we have a hack to prevent the viewport to move when focusing an input, however this code was targeting the textarea node through a global selector which is working fine on iOS as we only show one composer at a time but was failing on iPad as we show both channel and thread on the same screen. As a result `document.querySelector(".chat-composer__input")` was always targeting the first textarea on the screen which was the channel's composer, making it impossible to focus the thread's one. |
||
---|---|---|
.. | ||
javascripts | ||
stylesheets |