@uiw/react-codemirror 4.21.2 → 4.21.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,6 +40,9 @@ export function useCodeMirror(props) {
40
40
  width,
41
41
  minWidth,
42
42
  maxWidth
43
+ },
44
+ '& .cm-scroller': {
45
+ height: '100% !important'
43
46
  }
44
47
  });
45
48
  var updateListener = EditorView.updateListener.of(vu => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uiw/react-codemirror",
3
- "version": "4.21.2",
3
+ "version": "4.21.4",
4
4
  "description": "CodeMirror component for React.",
5
5
  "homepage": "https://uiwjs.github.io/react-codemirror",
6
6
  "author": "kenny wong <wowohoo@qq.com>",
@@ -40,7 +40,7 @@
40
40
  "@codemirror/commands": "^6.1.0",
41
41
  "@codemirror/state": "^6.1.1",
42
42
  "@codemirror/theme-one-dark": "^6.0.0",
43
- "@uiw/codemirror-extensions-basic-setup": "4.21.2",
43
+ "@uiw/codemirror-extensions-basic-setup": "4.21.4",
44
44
  "codemirror": "^6.0.0"
45
45
  },
46
46
  "keywords": [
@@ -48,6 +48,9 @@ export function useCodeMirror(props: UseCodeMirror) {
48
48
  minWidth,
49
49
  maxWidth,
50
50
  },
51
+ '& .cm-scroller': {
52
+ height: '100% !important',
53
+ },
51
54
  });
52
55
  const updateListener = EditorView.updateListener.of((vu: ViewUpdate) => {
53
56
  if (