Giter VIP home page Giter VIP logo

Comments (6)

crowmw avatar crowmw commented on August 18, 2024

My solution for this right now:

in useEffect when change number of displayed items:

    if (isOpen) {
      const element = document.querySelector('.scrollable-container')
      element.scrollBy(0, 1)
      setTimeout(() => {
        element.scrollBy(0, -1)
      }, 100)
    }

from react-tiny-popover.

zhaoyao91 avatar zhaoyao91 commented on August 18, 2024

Same problem here, but the workaround above is not available. Could you please provide some api to trigger update mannually?

from react-tiny-popover.

alexkatz avatar alexkatz commented on August 18, 2024

Hi. I've tried to reproduce your issue here: https://codesandbox.io/s/romantic-hooks-459fo?file=/src/App.js

I can't seem to reproduce it. If you'd like, take a look and see if this solves your issue!

from react-tiny-popover.

crowmw avatar crowmw commented on August 18, 2024

I've probably used older version of react-tiny-popover, meybe problem were solved in newer versions

from react-tiny-popover.

odinho avatar odinho commented on August 18, 2024

Yeah new version don't display this problem.

from react-tiny-popover.

alexkatz avatar alexkatz commented on August 18, 2024

I'll close this for now. Thanks.

from react-tiny-popover.

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.