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/tiptap] V7 toolbar has different default value for align-items with v6 #5994

Closed
2 tasks done
xiaohanyu opened this issue Mar 27, 2024 · 0 comments
Closed
2 tasks done

Comments

@xiaohanyu
Copy link
Contributor

xiaohanyu commented Mar 27, 2024

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.7.0

What package has an issue?

@mantine/core

What framework do you use?

Next.js

In which browsers you can reproduce the issue?

Chrome

Describe the bug

In mantine v6, <RichTextEditor.Toolbar> will render into a <Group> component internally and <Group> component has alignItems: center as the default.

In mantine v7, alignItems is not center any more by default, which is a UI break change for some case where the children controls of <RichTextEditor.Toolbar> has different heights.

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

https://codesandbox.io/p/sandbox/mantine-react-template-forked-mqqkx6?file=%2Fsrc%2FApp.tsx

Possible fix

#5993

Self-service

  • I would be willing to implement a fix for this issue
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