mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-26 19:51:40 +01:00
This changes our selection state handling to leave things alone if the browser's state already matches what we want. This avoids strange side effects like the touch bar flickering on each key press in Chrome. Fixes https://github.com/vector-im/riot-web/issues/9299