llama-gpt/components/Markdown
Thomas LÉVEIL 46e1857489
Fix rendering performances issues related to scrolling events (#174)
* memoize chat related components

* Avoid re-rendering ChatInput on every message udpate

* change the way the horizontal scrollbar is hidden

* make the scroll event listener passive

* perf(Chat): fix performances issues related to autoscroll

Uses the intersection API to determine autoscroll mode instead of listening for scroll events

* tuning detection of autoscroll
2023-03-27 01:22:38 -06:00
..
CodeBlock.tsx Fix rendering performances issues related to scrolling events (#174) 2023-03-27 01:22:38 -06:00
MemoizedReactMarkdown.tsx Fix rendering performances issues related to scrolling events (#174) 2023-03-27 01:22:38 -06:00