@100mslive/roomkit-react 0.3.14-alpha.4 → 0.3.14-alpha.5

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "prebuilt",
11
11
  "roomkit"
12
12
  ],
13
- "version": "0.3.14-alpha.4",
13
+ "version": "0.3.14-alpha.5",
14
14
  "author": "100ms",
15
15
  "license": "MIT",
16
16
  "repository": {
@@ -74,12 +74,12 @@
74
74
  "react": ">=17.0.2 <19.0.0"
75
75
  },
76
76
  "dependencies": {
77
- "@100mslive/hls-player": "0.3.14-alpha.4",
77
+ "@100mslive/hls-player": "0.3.14-alpha.5",
78
78
  "@100mslive/hms-noise-cancellation": "0.0.1",
79
- "@100mslive/hms-virtual-background": "1.13.14-alpha.4",
80
- "@100mslive/hms-whiteboard": "0.0.4-alpha.4",
81
- "@100mslive/react-icons": "0.10.14-alpha.4",
82
- "@100mslive/react-sdk": "0.10.14-alpha.4",
79
+ "@100mslive/hms-virtual-background": "1.13.14-alpha.5",
80
+ "@100mslive/hms-whiteboard": "0.0.4-alpha.5",
81
+ "@100mslive/react-icons": "0.10.14-alpha.5",
82
+ "@100mslive/react-sdk": "0.10.14-alpha.5",
83
83
  "@100mslive/types-prebuilt": "0.12.9",
84
84
  "@emoji-mart/data": "^1.0.6",
85
85
  "@emoji-mart/react": "^1.0.1",
@@ -115,5 +115,5 @@
115
115
  "uuid": "^8.3.2",
116
116
  "worker-timers": "^7.0.40"
117
117
  },
118
- "gitHead": "870d07094ed80ee2fefe344a743b4c463b046ccb"
118
+ "gitHead": "2d512204b017ee7b52ba3459eb0af1ef57cd8568"
119
119
  }
@@ -108,7 +108,10 @@ export const ChatFooter = ({ onSend, children }: { onSend: (count: number) => vo
108
108
 
109
109
  const resetInputHeight = useCallback(() => {
110
110
  if (inputRef.current) {
111
- inputRef.current.style.height = `${Math.max(32, inputRef.current.value ? inputRef.current.scrollHeight : 0)}px`;
111
+ inputRef.current.style.height = `${Math.max(
112
+ 32,
113
+ inputRef.current.value ? Math.min(inputRef.current.scrollHeight, 24 * 4) : 0,
114
+ )}px`;
112
115
  }
113
116
  }, []);
114
117