deiucanta / chatpad

Not just another ChatGPT user-interface!
https://chatpad.ai
GNU Affero General Public License v3.0
1.33k stars 252 forks source link

UI bouncing when I or chatGPT types #93

Closed Yodie98 closed 5 months ago

Yodie98 commented 9 months ago

Anytime I type or chatGPT is responding, the entire screen bounces. Happens on desktop and mobile in pretty much all browsers.

selfhosted on unraid. Accessing via web server

Supernova3339 commented 9 months ago

no issues for me on the desktop app

Yodie98 commented 9 months ago

chatpadAI

inv-george-karsas commented 9 months ago

having the same problem

Kmasterrr commented 9 months ago

Hi @Yodie98,

I managed to solve this by changing the ScrollIntoVew component behavior from "smooth" to "instant"

import { ReactNode } from "react";

export function ScrollIntoView({ children }: { children: ReactNode }) {
  return (
    <div
      ref={(node) => {
        if (!node) return;
        node.scrollIntoView({ behavior: "instant" });
      }}
    >
      {children}
    </div>
  );
}
Eth030 commented 9 months ago

how can i fix this its unbareable

inv-george-karsas commented 9 months ago

hey @Eth030,

@Kmasterrr fix below solved it for me:

Hi @Yodie98,

I managed to solve this by changing the ScrollIntoVew component behavior from "smooth" to "instant"

import { ReactNode } from "react";

export function ScrollIntoView({ children }: { children: ReactNode }) {
  return (
    <div
      ref={(node) => {
        if (!node) return;
        node.scrollIntoView({ behavior: "instant" });
      }}
    >
      {children}
    </div>
  );
}
cafecrema commented 8 months ago

Same for me. Its also only in the web version. Please add this fix to the project!

metinelitas commented 8 months ago

Same for me for the web version

NickBouwhuis commented 7 months ago

I've been trying Chatpad UI for the last few months, same issue. On both the web and desktop app version.

tvl83 commented 6 months ago

Same issue for me. It's quite annoying.