macOSNotifJS
macOSNotifJS copied to clipboard
Notification overflow
Expected Behaviour
When too many notifications are generated than can fit on the page and the threshold is set to allow this, the system should allow for vertical scrolling through the notifications.
Current Behaviour
They overflow beyond the viewport and aren't accessible until higher up notifications are dismissed.
Development Environment
Safari Version 13.0 (15608.1.24.40.4)
Steps to Reproduce
- Load a test page with macOSNotifJS present.
- Set the threshold for the notifications to 100 before they will fade away.
macOSNotifFadeThreshold = 100 - Spawn 100 notifications.
for (var i = 0; i < 100; i++) { macOSNotif() }
Context
N/A
Additional Comments
N/A
My thoughts on this for a fix are that all notifications need to be spawned within an mutual outer container that will spawn the full width/height of the viewport, this can then be set to allow vertical overflow which will in turn enable users to scroll through notifications when they have overflowed with the threshold too high.