panes
panes copied to clipboard
[FEAT] Ion-content set scroll-y
Describe your feature request detailed
Automatically set scroll-y="false" for Ion-content directive element for visible pane statement.
Should solve many view issues with ionic framework.
I think this causes ion-content to still have the "scroll-y" set to false, when navigating back to the previous page, thus the scroll will be disabled.
A workaround is to use, to re-enable scroll-y on ion-content
ionViewDidLeave() {
document.querySelector('ion-content').setAttribute('scroll-y', 'true');
}
I think a fix should reset the original state of scroll-y when the pane is destroyed.