Comments (4)
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.
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.
I have the same issue now, anyone can help me? I think something is broken after that commit
from react-popper.
Please open a new issue following the issue template, this one is 3 years old.
from react-popper.
Related Issues (20)
- Popper fails to fit in within available viewport HOT 3
- Module '"react-popper"' has no exported member 'usePopper' HOT 1
- Warning when running tests. HOT 1
- Position of Popover is wrong, its fixed to top left HOT 2
- react-popper v1.0 and v2.0 can not use in the same project
- Rollup bundling error: "Error: 'default' is not exported by node_modules/react-fast-compare/index.js" HOT 2
- placement error!!! options.placement set 'top' but replace to 'bottom' HOT 1
- usePopper has something wrong with ReactDom.flushSync HOT 9
- Popper not positioning properly when using React.createElement HOT 2
- Will this library be updated to use @floating-ui behind the scenes? Or will it remain on @popperjs HOT 2
- Adding onFirstUpdate function kills the page HOT 5
- Feature: Close on click outside Boolean property HOT 2
- ts error happened when run the Official demo HOT 2
- How to size popper dynamically with detectOverflow HOT 3
- When to use React popper and when to use @floating-ui/react and why? HOT 2
- Arrow position does not follow after flipping the tooltip when using a VirtualElement as reference
- Warning: flushSync was called from inside a lifecycle method. HOT 3
- How to do escapeWithReference in react-popper 2.3.0 HOT 2
- update() && forceUpdate() with createPortal
- Custom dropdown developed using react-popper is not being sticky when dropdown is opened and being scrolled in safari ios and macos devices HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-popper.