diff --git a/packages/fleather/lib/src/rendering/editor.dart b/packages/fleather/lib/src/rendering/editor.dart index 3fc17cb7..ce069de5 100644 --- a/packages/fleather/lib/src/rendering/editor.dart +++ b/packages/fleather/lib/src/rendering/editor.dart @@ -661,7 +661,8 @@ class RenderEditor extends RenderEditableContainerBox @override bool hitTestChildren(BoxHitTestResult result, {required Offset position}) { - return defaultHitTestChildren(result, position: position); + final Offset effectivePosition = position - paintOffset; + return defaultHitTestChildren(result, position: effectivePosition); } void _paintHandleLayers(