You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
akevinge
changed the title
[Bug] Scrolling with mouse wheel in textarea is disabled on Firefox
[Bug] Scrolling with mouse wheel in child textarea is disabled on Firefox
Jun 19, 2022
🙇 found the reason (visible: Content is not clipped and may be rendered outside the padding box), and probably it's quite special to textarea for which "visible" still mean "has scrollbars"
I would check if using scrollHeight could be a better option here. In other case I would implement an edge case for text-area only (and there is already one for range inputs)
Bug
Scrolling with the mouse wheel in child textarea is incorrectly disabled on Firefox but works as expected on Chrome.
Expected
Scrolling with the mouse wheel in child textarea works on Firefox and Chrome.
Reproduction: https://codesandbox.io/s/gallant-tharp-b4qwzv?file=/src/App.js
The reason this happens and the workaround can be found here: radix-ui/primitives#1417 (comment)
The text was updated successfully, but these errors were encountered: