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

Calendar: hasNextLevel props is not working #4682

Closed
adolfov opened this issue Aug 22, 2023 · 2 comments
Closed

Calendar: hasNextLevel props is not working #4682

adolfov opened this issue Aug 22, 2023 · 2 comments

Comments

@adolfov
Copy link

adolfov commented Aug 22, 2023

What package has an issue

@mantine/core

Describe the bug

The Calendar component's hasNextLevel prop is not working.

This prop causes a warning in the console:

React does not recognize the withNext prop on a DOM element

Furthermore, this issue appears to extend to other components that utilize the Calendar component, such as DatePicker.

What version of @mantine/hooks page do you have in package.json?

6.0.19

If possible, please include a link to a codesandbox with the reproduced problem

https://codesandbox.io/s/nice-black-ky5n5m

Do you know how to fix the issue

Yes

Are you willing to participate in fixing this issue and create a pull request with the fix

Yes

Possible fix

Add hasNextLevel to the list of OmittedSettings like it was done here:
8df41cd

@adolfov
Copy link
Author

adolfov commented Aug 22, 2023

Related to: #4638

@rtivital
Copy link
Member

rtivital commented Sep 5, 2023

Fixed in 6.0.20

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

No branches or pull requests

2 participants