Git Product home page Git Product logo

Comments (7)

timc1 avatar timc1 commented on July 17, 2024

Can you add a screen cap or codesandbox to reproduce this issue?

from kbar.

EmirBoyaci avatar EmirBoyaci commented on July 17, 2024

Can you add a screen cap or codesandbox to reproduce this issue?

Sure, I tried in https://kbar.vercel.app/ website by removing HTML elements from Developer Tools. Here you can see the screen recording:

2023-02-20_22-23-45.mp4

from kbar.

timc1 avatar timc1 commented on July 17, 2024

Can you use disableScrollbarManagement ? https://github.com/timc1/kbar/blob/main/src/types.ts#L55

from kbar.

EmirBoyaci avatar EmirBoyaci commented on July 17, 2024

Can you use disableScrollbarManagement ? https://github.com/timc1/kbar/blob/main/src/types.ts#L55

If I do and if we have overflowed content (iow scrollbar is visible), then layout shifts.

I'm switching to my laptop, i'll try again this option. If I am not mistaken, I tried this option and it shifted layout .

from kbar.

EmirBoyaci avatar EmirBoyaci commented on July 17, 2024

@timc1 yes, I remember correct. If I pass disableScrollbarManagement: true to KBarProvider as a option prop, then page content shifts where content overflows (iow scrollbar visible). It is like vice-versa, if I set disableScrollbarManagement true and scrollbar is visible, then layout shifts. Otherwise, page's layout's are shifting where pages do not have overflow content (without scrollbar).

from kbar.

EmirBoyaci avatar EmirBoyaci commented on July 17, 2024

Hi @timc1 do you also need reproducer for the disableScrollbarManagement: true behaviour? I am currently thinking why someone did not ever faced with that issue..

from kbar.

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.