I have question regarding scrolling in React with Ionic. So i have a header witch starts off large and as I scroll pass an y point i want to change some css. The IonContent have some events for scrolling but i dont seem to find a way to get the current y position of the ioncontent. Does anyone have a clue for how to work around this or if im just missing something that is very easy?
I tried to do it with js also by targeting classnames but that did not seem to work either and i dont really want to do it this way unless it is the last and only way.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…