We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14ed2ca commit ac1ff00Copy full SHA for ac1ff00
src/utils/layout-algorithms/no-overlap.js
@@ -29,7 +29,9 @@ export default function ({
29
a = a.style
30
b = b.style
31
if (a.top !== b.top) return a.top > b.top ? 1 : -1
32
- else return a.top + a.height < b.top + b.height ? 1 : -1
+ else if (a.height !== b.height)
33
+ return a.top + a.height < b.top + b.height ? 1 : -1
34
+ else return 0
35
})
36
37
for (let i = 0; i < styledEvents.length; ++i) {
0 commit comments