Skip to content

Commit 026e496

Browse files
NeilFraserBeksOmega
authored andcommitted
fix: offset location of connection ripple (google#6973)
Resolves issue google#6972 (cherry picked from commit 8ade261)
1 parent f45cd81 commit 026e496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/insertion_marker_manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,11 @@ export class InsertionMarkerManager {
186186
local.connect(closest);
187187
if (this.topBlock.rendered) {
188188
const inferiorConnection = local.isSuperior() ? closest : local;
189-
blockAnimations.connectionUiEffect(inferiorConnection.getSourceBlock());
190189
const rootBlock = this.topBlock.getRootBlock();
191190

192191
// bringToFront is incredibly expensive. Delay by at least a frame.
193192
requestAnimationFrame(() => {
193+
blockAnimations.connectionUiEffect(inferiorConnection.getSourceBlock());
194194
setTimeout(() => {
195195
rootBlock.bringToFront();
196196
}, 0);

0 commit comments

Comments
 (0)