this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix undefined current.style

+8 -2
+2 -1
src/components/compose-textarea.jsx
··· 107 107 // Get height of textarea, set height to textExpander 108 108 if (textExpanderRef.current) { 109 109 const { height } = textarea.getBoundingClientRect(); 110 - textExpanderRef.current.style.height = height + 'px'; 110 + // textExpanderRef.current.style.height = height + 'px'; 111 + textExpanderRef.current.setStyle({ height: height + 'px' }); 111 112 } 112 113 }); 113 114 resizeObserver.observe(textarea);
+5
src/components/text-expander.jsx
··· 47 47 48 48 // Expose the activated state to parent components 49 49 useImperativeHandle(ref, () => ({ 50 + setStyle: (style) => { 51 + if (textExpanderRef.current) { 52 + Object.assign(textExpanderRef.current.style, style); 53 + } 54 + }, 50 55 activated: () => hasTextExpanderRef.current, 51 56 })); 52 57
+1 -1
src/locales/en.po
··· 1245 1245 msgstr "" 1246 1246 1247 1247 #: src/components/nav-menu.jsx:244 1248 - #: src/components/text-expander.jsx:208 1248 + #: src/components/text-expander.jsx:213 1249 1249 msgid "More…" 1250 1250 msgstr "" 1251 1251