leaflet: Synchronize paired notifications

This ensures users can't react to a visible child change notification or
a fold change notification before we finish emitting all related
notifications.
7 jobs for leaflet in 9 minutes and 24 seconds (queued for 26 seconds)