From 48be4e9cb6a730cdcecbd1d2db294406315f1d87 Mon Sep 17 00:00:00 2001 From: Alexander Tumin Date: Sun, 11 Dec 2022 18:50:34 +0300 Subject: [PATCH] Fix notifications/interactions null dereference --- src/components/notifications/notifications.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index dde9c93e51..d499d3d62d 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -101,6 +101,9 @@ const Notifications = { if (!this.scrollerRef) { this.scrollerRef = this.$refs.root.closest('.mobile-notifications') } + if (!this.scrollerRef) { + this.scrollerRef = this.$refs.root.closest('.column.main') + } this.scrollerRef.addEventListener('scroll', this.updateScrollPosition) }, unmounted () {