Code Monkey home page Code Monkey logo

Comments (4)

souporserious avatar souporserious commented on May 13, 2024

Sorry for the late reply, is it possible you can provide a demo using something like codesandbox please? This sounds like it may be related to PopperJS core, but I'm not sure.

from react-popper.

greg-a-smith avatar greg-a-smith commented on May 13, 2024

So this one was interesting. I stumbled onto the reason this was occurring while attempting to create a branch to demonstrate the issue. In the end, it appears to be a bug with NPM.

In our project, we have react-popper as a dependency defined as ^0.7.4. This, in turn, has a dependency on popper.js defined as ^1.12.5. When I run npm install on our project, it ultimately ends up loading [email protected]. While attempting to create a branch on react-popper demonstrating the issue, I found that running npm install was loading [email protected]. Why the difference?

The issue with using scrollParent for preventOverflow.boundariesElement was fixed in popper.js in version 1.12.7 with this commit (floating-ui/floating-ui@904d46b).

I was able to "fix" the issue in our project by adding a top-level dependency for popper.js for ^1.12.9 even though we don't directly use popper.js in our code. When I do this, npm install ends up loading [email protected] for both the root dependency and the dependency for react-popper. The popper.js under react-popper is marked as "deduped".

I created an issue for NPM (npm/npm#19638). I will close the issue for react-popper.

from react-popper.

RomanPoghosyan avatar RomanPoghosyan commented on May 13, 2024

I have the same issue now, anyone can help me? I think something is broken after that commit

from react-popper.

FezVrasta avatar FezVrasta commented on May 13, 2024

Please open a new issue following the issue template, this one is 3 years old.

from react-popper.

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.