-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update react-click-outside to 3.0 #10748
Update react-click-outside to 3.0 #10748
Conversation
I think the problem here is that the package-lock.json I generated doing a local Is there a standard way to generate the lock file? Or should the builder use |
With all those local packages you probably need to do:
|
I got this to be happy by hand-removing the diff --git a/gutenberg-mobile b/gutenberg-mobile
--- a/gutenberg-mobile
+++ b/gutenberg-mobile
@@ -1 +1 @@
-Subproject commit 776bb23f7f19ef57b491f9708e9795b3a2ddb68e
+Subproject commit 776bb23f7f19ef57b491f9708e9795b3a2ddb68e-dirty
diff --git a/package-lock.json b/package-lock.json
index b2f7fa7d4..86afb9867 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -17105,14 +17105,6 @@
"prop-types": "^15.5.6"
}
},
- "react-click-outside": {
- "version": "2.3.1",
- "resolved": "https://registry.npmjs.org/react-click-outside/-/react-click-outside-2.3.1.tgz",
- "integrity": "sha1-MYc3698IGko7zUaCVmNnTL6YNus=",
- "requires": {
- "hoist-non-react-statics": "^1.2.0"
- }
- },
"react-color": {
"version": "2.13.4",
"resolved": "https://registry.npmjs.org/react-color/-/react-color-2.13.4.tgz", and then running Previously I had been removing the package-lock entirely and running the above command. If I do that after the current patch, I end up with a different layout in package-lock, with |
There's an additional dep for |
As long as it's in their own repo, we can only ping @hypest and ask to align versions :) We plan to have RN project inside this repo as a private package which would solve the issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested with the updated version of library 👍
Assuming we're talking about the Gutenberg submodule in the mobile repo, it shouldn't be a problem to be "unaligned". It will get aligned "automatically" when we update the GB ref to a more recent one. The mobile app doesn't depend on |
* Update react-click-outside to 3.0 * update package-lock
Description
Update react-click-outside to the latest version, the 3.0 line.
How has this been tested?
Verified that the popover still intercepts clicks outside the popover and closes the popover
Types of changes
Dependency update
Checklist: