Skip to content

bug: List in inline modal last item is cut off #27470

@ZachHandley

Description

@ZachHandley

Prerequisites

Ionic Framework Version

v7.x

Current Behavior

I have attempted to create a modal with an ion-list inside it in Vue 3.X (latest), it is supposed to show all the way to the bottom, but the content of the modal does not scroll to the last item, it is instead cut off. I have seen the other issues that were supposedly resolved, but perhaps the bug has resurfaced.

Expected Behavior

Modal scrolls the content

Steps to Reproduce

  1. Create a modal with a toolbar
  2. Create enough list items to overflow the parent
  3. Experience bug

Code Reproduction URL

https://stackblitz.com/edit/aawkvs?file=src/components/Example.vue

Ionic Info

Ionic:

Ionic CLI : 7.0.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/vue 7.0.6

Capacitor:

Capacitor CLI : 5.0.3
@capacitor/android : 5.0.3
@capacitor/core : 5.0.3
@capacitor/ios : 5.0.3

Utility:

cordova-res : not installed globally
native-run : 1.7.2

System:

NodeJS : v20.1.0 (/usr/local/Cellar/node/20.1.0/bin/node)
npm : 9.6.4
OS : macOS Unknown

Additional Information

Code reproduction is based on the example online from docs with additional elements copy + pasted

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