Skip to content

bug: sheet modal. EventListeners don't work on ion-footer when expandToScroll is false #30315

Closed
@kumibrr

Description

@kumibrr

Prerequisites

Ionic Framework Version

v8.x

Current Behavior

When a EventListener is attached to a ion-footer (or any of its children) that's in a sheet modal with expandToScroll = false, the event listener does not work

Expected Behavior

The EventListener should work for the ion-footer and its children.

Steps to Reproduce

  1. Create a sheet modal with expandToScroll = false
  2. Add a ion-footer with a button and a listener
  3. Click and it won't do anything.

Code Reproduction URL

https://stackblitz.com/edit/yrmrkw2f?file=src%2Fapp%2Fexample.component.html

Ionic Info

Ionic:

Ionic CLI: 7.2.1
Ionic Framework: @ionic/angular 8.5.1
@angular-devkit/build-angular: 19.2.4
@angular-devkit/schematics: not installed
@angular/cli: 19.2.4
@ionic/angular-toolkit: 12.1.1

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

System:
NodeJS : v20.18.1
npm : 10.8.2
OS : macOS Unknown

Additional Information

PR to fix it: #30310

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