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

@mantine/carousel requires embla-carousel-react@^7.1.0 which in turn does not support react 19 #7403

Closed
1 of 2 tasks
aviyadeveloper opened this issue Jan 23, 2025 · 3 comments
Labels
Not planned Issues that are not planned to be fixed or features that are not planned to be added

Comments

@aviyadeveloper
Copy link

Dependencies check up

  • I have verified that I use latest version of all @mantine/* packages

What version of @mantine/* packages do you have in package.json?

7.16.1

What package has an issue?

@mantine/carousel

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

Not applicable – issue is not related to the browser

Describe the bug

As mentioned in the title, the dependency chain is not compatible with react 19.

@mantine/carousel requires an outdated version of embla-carousel-react which in does not support react v19.

This means that it is not possible to downgrade the embla-carousel-react package in order to fix certain issues such as:

#5039 (draggable prop does not work)

If possible, include a link to a codesandbox with a minimal reproduction

No response

Possible fix

No response

Self-service

  • I would be willing to implement a fix for this issue
@AprilPolubiec
Copy link

Having the same issue.. is there any workaround other than downgrading React?

@rtivital
Copy link
Member

embla-carousel and other packages related to embla update to the next major version require breaking changes. It is not planned to implement these changes in 7.x releases. These changes will be made in 8.0 release.

@rtivital rtivital closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 2025
@rtivital rtivital added the Not planned Issues that are not planned to be fixed or features that are not planned to be added label Jan 26, 2025
@aviyadeveloper
Copy link
Author

@AprilPolubiec I just use --force flag for now. Guess we got to wait for v8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Not planned Issues that are not planned to be fixed or features that are not planned to be added
Projects
None yet
Development

No branches or pull requests

3 participants