question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Editor bubbles in a multi-column container show up at wrong vertical offset

See original GitHub issue

I have a use case where the editor is inside a multi-column container.

<div class="container">
   ...
    <tiptap-editor/>
   ...
</div>

where

.container {
 column-count: 2;
}

Expected behavior Expect to see menu bubbles in appropriate place.

Screenshots This is what I see: Screen Shot 2019-05-13 at 2 13 51 PM

https://codesandbox.io/s/48r92vy8v7

Environment

  • Browser Chrome
  • Version 1.16.2

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hanspagelcommented, Jan 7, 2021

Thanks for all you work on this @holtwick! We are about to rewrite all interface components, and I added your code snippets to my notes. 🙌

Closing this here for now.

1reaction
Chrissi2812commented, May 14, 2019

Please use updated tip-tap (menububble position was fixed in 1.17.0) And after changing this line, it works a little bit better (not perfect though, cross column selection is broken)

- .container {
+ .ProseMirror {
 column-count: 2;
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Editor bubbles in a multi-column container show up at wrong ...
I made a simple example component using popper.js to track overlay positioning and Portal to escape the position:absolute and scroll context.
Read more >
Table vertical Line Offset and Centering Problem using ...
Using multicolumns though results in a slight offset of the right vertical line. Also the text is not centered anymore. Is there a...
Read more >
Understanding the Column Layout | Bubble Responsive Editor
Bubble is a visual programming language that lets you build web applications without code. Using Bubble's visual editor, you can build a ...
Read more >
Handling overflow in multi-column layout - MDN Web Docs
An overflow situation happens when an item's size is larger than the column box. For example, the situation could happen when an image...
Read more >
ag-Grid Reference: Grid Properties
Set to true to suppress multi-sort when the user shift-clicks a column header. Default: false. suppressMenuHide, Set to true to always show the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found