I have hooked the event
(ionScroll) of my
ion-content but nothing happened when I scroll.
However when I inspect my page and found the shadow element inside
ion-content with tag:
<main class="inner-scroll scroll-y"> have
How can I get the
scrollTop value from the shadow element
<main> in my
So there are two problems:
- no scroll even emitted from
- I want to get the shadow element in typescript.
PS. I am using Ionic 5