diff --git a/web/src/pages/UIPlayground.tsx b/web/src/pages/UIPlayground.tsx
index 2b218e5a6..f7bc5da47 100644
--- a/web/src/pages/UIPlayground.tsx
+++ b/web/src/pages/UIPlayground.tsx
@@ -168,6 +168,12 @@ function UIPlayground() {
setZoomSettings(possibleZoomLevels[nextZoomLevel]);
}
+ const [isDragging, setIsDragging] = useState(false);
+
+ const handleDraggingChange = (dragging: boolean) => {
+ setIsDragging(dragging);
+ };
+
return (
<>
@@ -212,6 +218,9 @@ function UIPlayground() {
Timeline
Handlebar timestamp: {handlebarTime}
+
+ Handlebar is dragging: {isDragging ? "yes" : "no"}
+