From 66be1503d9d8e10abcf78b2262d95a618ed37b01 Mon Sep 17 00:00:00 2001 From: Dmitry Kaznacheev Date: Thu, 29 Aug 2024 21:17:39 +1000 Subject: [PATCH] bottom sheet little fix --- src/GenOne.Blazor.BottomSheet/src/wwwroot/bottom-sheet.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/GenOne.Blazor.BottomSheet/src/wwwroot/bottom-sheet.js b/src/GenOne.Blazor.BottomSheet/src/wwwroot/bottom-sheet.js index 9961648..a612178 100644 --- a/src/GenOne.Blazor.BottomSheet/src/wwwroot/bottom-sheet.js +++ b/src/GenOne.Blazor.BottomSheet/src/wwwroot/bottom-sheet.js @@ -100,8 +100,9 @@ const deltaY = this._currentDragPosition - position; + if (deltaY == 0) return; + if (this._checkContentPosition) { - if (deltaY == 0) return; this._checkContentPosition = false;