mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 09:50:15 +01:00
🔡 fix: Rendering of Bidirectional Text (#3195)
The fix has been applied only to key components where the rendering issue is significant
This commit is contained in:
parent
ed5ee1f86f
commit
81292bb4dd
6 changed files with 9 additions and 2 deletions
|
|
@ -5,6 +5,6 @@ export const TextareaAutosize = forwardRef<HTMLTextAreaElement, TextareaAutosize
|
|||
(props, ref) => {
|
||||
const [, setIsRerendered] = useState(false);
|
||||
useLayoutEffect(() => setIsRerendered(true), []);
|
||||
return <ReactTextareaAutosize {...props} ref={ref} />;
|
||||
return <ReactTextareaAutosize dir="auto" {...props} ref={ref} />;
|
||||
},
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue