Steps to Reproduce:
- Open https://zh.wikipedia.org/w/index.php?title=%E4%BA%9A%E6%B4%B2&action=edit&oldid=64606798.
- Run the mw.config.set('wgCodeMirrorEnableBracketMatching', true); in browser console, or other methods to enable it.
- Find the == 国家列表 ==, then put the caret in that big wiki table code, make sure that {| is highlighted.
- Try clicking to drag or jump the scroll bar.
Actual Results:
- The {| was de-highlight styling when I clicked the left mouse button on the scroll bar in the editing area.
- If I use the mouse wheel, it is normal, I may find a matching closing bracket (or vice versa).
Expected Results:
- Keep the highlight style if the user just manipulates the scroll bar in the editing area.