Git Product home page Git Product logo

Comments (4)

aymenssf avatar aymenssf commented on September 26, 2024 1

https://github.com/khoj-ai/khoj/assets/79019644/4e450c75-08ca-47a1-972d-e9f993f3f021
Hello @debanjum , here is what I mean, thank you

from khoj.

debanjum avatar debanjum commented on September 26, 2024

Hey @aymenssf, can you describe the issue in more details? Is the problem that the user can't scroll-up when Khoj is writing out its response? What is the "content disappearing" bit you mentioned? Feel free to share screenshots or small videos if they'll help explaining the issue

from khoj.

m00nbyt3 avatar m00nbyt3 commented on September 26, 2024

I have this problem, I can't scroll-up when Khoj is writing out its response

from khoj.

m00nbyt3 avatar m00nbyt3 commented on September 26, 2024

As a temporal solution, we can inject this code ( genereted by khoj btw :) ) in DevTools console:


// Selects the element
var chatBody = document.getElementById("chat-body");

// Saves the last scrollTop value
var originalScrollTop = chatBody.scrollTop;

// Redefine scrollTop porperty
Object.defineProperty(chatBody, 'scrollTop', {
    set: function(value) {
        // Do not do nothing, so the scrollTop will not change
        // Maybe we can write some code here
    },
    get: function() {
        return originalScrollTop;
    },
    configurable: true
});

from khoj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.