diff --git a/product/phone/dropdownpanel/src/main/ets/pages/notification.ets b/product/phone/dropdownpanel/src/main/ets/pages/notification.ets index 1cb82e8808674e78fac479a0061205d43d20af9c..a30cb5d023e7faa6b9f27fa57795dc71d55b40e9 100644 --- a/product/phone/dropdownpanel/src/main/ets/pages/notification.ets +++ b/product/phone/dropdownpanel/src/main/ets/pages/notification.ets @@ -82,7 +82,7 @@ export default struct Notification { .alignSelf(ItemAlign.Center) .margin({ top: NO_NOTIFICATION_TOP_MARGIN }) } else { - NotificationListComponent({listIsEnd: this.isEnd}) + NotificationListComponent({listIsEnd:$isEnd}) } }.padding({ left: $r("sys.float.ohos_id_notification_margin_start"), @@ -123,7 +123,8 @@ export default struct Notification { if (this.moveY < -30 && this.isEnd) { if (this.touchMoveCallback) { this.touchMoveCallback({ 'direction': 'top', 'touchComponent': 'notification' }) - this.moveY = 0 + this.moveY = 0; + this.isEnd = false; } } }