Skip to content

search: Enable query input line wrapping on mobile (CodeMirror)

Warren Gifford requested to merge fkling/21215-multi-line-mobile into main

Created by: fkling

Closes #21215 (closed)

This commit adds an extension to the default query input which enables line wrapping on mobile. Note that this is not the same as multi-line mode (which allows entering line breaks). That is controlled by preventNewLine and is not affected by this change.

https://user-images.githubusercontent.com/179026/178073569-6c244310-2276-412f-837d-c2343674356f.mp4

Test plan

Go into responsive design mode and reduce page width. The query input should wrap.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading