capc0 · GitHub

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

When a popup is created via PopoverController with a custom component, the contents of the popup is not scrollable.

image

Expected Behavior

The content of the popup should be scrollable (as it used to be with previous versions).

image

Steps to Reproduce

  1. Click on the button within the stackblitz
  2. Resize/shrink the windows viewport
  3. Oberserve that options at the end are cut off and it is not possible to scroll

Code Reproduction URL

https://stackblitz.com/edit/angular-vvbkmf?file=src%2Fapp%2Fapp.component.ts

Ionic Info

see Stackblitz setup

Additional Information

related to #28965 & #28963

a workaround is to set the following style in the globals:

ion-popover > * {
  overflow-y: auto;
}

Read the original on github.com ↗