panes icon indicating copy to clipboard operation
panes copied to clipboard

[FEAT] Ion-content set scroll-y

Open roman-rr opened this issue 2 years ago • 1 comments

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.

roman-rr avatar May 14 '23 01:05 roman-rr

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.

pinguluk avatar Sep 23 '24 10:09 pinguluk