Skip to content
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

feat: update react-popper to support react18 #1437

Merged
merged 1 commit into from
Sep 5, 2022
Merged

Conversation

InfiniteXyy
Copy link
Contributor

@InfiniteXyy InfiniteXyy commented Aug 18, 2022

Description

This PR update react-popper dependency to latest version, so that popover component can have correct alignment under React 18 strictMode.

I have tested it in my own React 18 project, all the component seem to work fine, but I'm not confident about that.

I was trying to update the test to support React 18, but a lot of code need to be refactored and updated, and I cannot do that in hours, sorry for that. Currently, the project was still tested with React 17, but have set the peerDependency support React 18. I'm not quite sure if it is OK. (This PR does not contain any source code changes)

fixes #1434

@cla-assistant
Copy link

cla-assistant bot commented Aug 18, 2022

CLA assistant check
All committers have signed the CLA.

@netlify
Copy link

netlify bot commented Aug 18, 2022

Deploy Preview for fundamental-react ready!

Name Link
🔨 Latest commit f5ca6ec
🔍 Latest deploy log https://app.netlify.com/sites/fundamental-react/deploys/62fe0ba855dce8000803ce66
😎 Deploy Preview https://deploy-preview-1437--fundamental-react.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Vita-Meow Vita-Meow requested a review from jbadan August 19, 2022 07:25
@Vita-Meow Vita-Meow self-requested a review September 5, 2022 03:20
@Vita-Meow Vita-Meow merged commit 0ab6fe7 into SAP:main Sep 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support React 18
2 participants