-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Link input field is cut off in RichTextInput #2125
Comments
Confirmed. Thanks for reporting :) |
This problem is reintroduced somewhere along the line and reproducible on the same demo page mentioned above in react-admin. I am experiencing this with version 3.2.1 of react-admin and 3.2.2 of ra-input-rich-text. Quill popups are cut off because of Both
Are there any other options you can think of, or any issues that you foresee with the two options above? |
Bug confirmed, reopening. |
The bug comes from an incompatibility between material-ui's Note that the fix is easy in user land: import { Edit, SimpleForm, TextInput } from 'react-admin';
+import { withStyles } from '@material-ui/core/styles';
-const PostEdit = props => (
+const PostEdit = withStyles({ card: { overflow: 'initial' } })(props => (
<Edit {...props}>
<SimpleForm>
// ...
</SimpleForm>
</Edit>
-);
+)); I think the best way for react-admin to tackle this bug is by adding the above snippet in the documentation. |
What you were expecting:
The input field for adding a link to a word/sentence in the
ra-input-rich-text
should be on top of everything, no matter where the word is situated in the text.What happened instead:
The input field gets cut off by the actual content area.
Steps to reproduce:
As experienced on the demo page:
Other information:

This is what happens when I'm trying to add a link to the first word in the editor:
I'm guessing something went wrong when transforming the Quill theme to JSS? Overall, the theming of the RichTextInput feels weird.
Environment
The text was updated successfully, but these errors were encountered: