ionic-framework
ionic-framework copied to clipboard
bug: No Translucent Header when using virtual scroll
Prerequisites
- [X] I have read the Contributing Guidelines.
- [X] I agree to follow the Code of Conduct.
- [X] I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v8.x
Current Behavior
When using a virtual scroll component such as rxAngular RxVirtualScrollViewportComponent the ion-header translucent option does not work.
The `ion-tab-bar' translucent effect also doesn't show unless the entire page is wrapped in a div with height set to 100%
Expected Behavior
The `ion-header' and 'ion-tab-bar' translucent effect option should function as expected when using a virtual scroll component such as the rxAngular virtual scroll
Steps to Reproduce
- Scroll through the virtual list on the first tab.
- Notice the `ion-tab-bar' translucent effect showing correctly
- Notice the
ion-headerNOT showing the translucent effect - navigate to the standard scroll tab and notice the header and tabs translucent effect showing as expected.
Code Reproduction URL
https://stackblitz.com/~/github.com/CelloFloss/rx-virtual-scroll-issue-ionic?file=README.md
Ionic Info
Ionic:
Ionic CLI : 7.2.0 Ionic Framework : @ionic/angular 8.4.1 @angular-devkit/build-angular : 19.0.6 @angular-devkit/schematics : 19.0.6 @angular/cli : 19.0.6 @ionic/angular-toolkit : 12.1.1
Utility:
cordova-res : 0.15.4 native-run : not installed globally
System:
NodeJS : v20.10.0 npm : 10.2.3 OS : macOS
Additional Information
No response