Skip to content

Conversation

@saxumcordis
Copy link
Contributor

We have problems with tooltips and editor's overflow: hidden.
These changes allow to control tooltips parent

@saxumcordis saxumcordis changed the title feat: support codemirror tooltips config feat(markup): support codemirror tooltips config Jan 14, 2026
@gravity-ui
Copy link

gravity-ui bot commented Jan 14, 2026

Storybook Deployed

@gravity-ui
Copy link

gravity-ui bot commented Jan 14, 2026

🎭 Playwright Report


export const gravityTheme = EditorView.baseTheme({
'&': {
'&.cm-editor': {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

tooltip with custom parent is wrapped with & class which has overflow hidden :)
It should not have this one to fix initial problem.. so this fixes it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe my changes are not needed and we should remove overflow: hidden at all..

Copy link
Contributor Author

@saxumcordis saxumcordis Jan 16, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

decided to make remove overflow completely: #927

saxumcordis added 2 commits January 16, 2026 14:46
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.

2 participants