[Enhancement] Optimize content scroll listening in modal #3044
Labels
enhancement
New feature or request
Technical and design debt
A collection of technical and design debt
Describe the enhancement
#2995 implements scroll-listening via the
(ionScroll)
event emitter onion-content
, for showing/hiding the horizontal divider below the title/header area on mobile.Currently the listening is always enabled even though the divider line is always shown on desktop, no matter the scroll state of
ion-content
.Describe the solution you'd like
Ideally we want to listen to the current breakpoint and enable/disable the subscription accordingly.
Checklist:
The following tasks should be carried out in sequence in order to follow the process of contributing correctly.
Refinement
Implementation
The contributor who wants to implement this issue should:
Review
Once the issue has been implemented and is ready for review:
The text was updated successfully, but these errors were encountered: