Skip to content

bug: popover without ion-content not scrollable #29211

@capc0

Description

@capc0

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; }

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions