react-codemirror icon indicating copy to clipboard operation
react-codemirror copied to clipboard

Search bar doesn't float above code when scrolling

Open kyleqian opened this issue 1 year ago • 1 comments

image

Instead, it's appended at the bottom and can only be found by scrolling all the way to the end. I'm using 4.23.6, where the left pane is not editable and the right pane is.

The search bar in the normal CodeMirror component works (I use both), just not the merge one.

kyleqian avatar Nov 13 '24 00:11 kyleqian

https://github.com/uiwjs/react-codemirror/blob/8b091c37ff52077bf63bf97302a90b45f57c8646/www/src/pages/merge/Example.tsx#L32-L40

Removed outer styling and switched to controlling inner styles using the @uiw/codemirror-extensions-classname extension.

jaywcjlove avatar Nov 13 '24 02:11 jaywcjlove