Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
kumibrr opened this issue Mar 26, 2025 · 1 comment · May be fixed by #30310
Open
3 tasks done

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

kumibrr opened this issue Mar 26, 2025 · 1 comment · May be fixed by #30310
Labels
package: core @ionic/core package type: bug a confirmed bug report

Comments

@kumibrr
Copy link
Contributor

kumibrr commented Mar 26, 2025

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

@ionitron-bot ionitron-bot bot added the triage label Mar 26, 2025
@thetaPC thetaPC added package: core @ionic/core package type: bug a confirmed bug report labels Apr 2, 2025
@ionitron-bot ionitron-bot bot removed triage labels Apr 2, 2025
@thetaPC
Copy link
Contributor

thetaPC commented Apr 2, 2025

Thank you for the issue! I was able to reproduce this. We'll look into your PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: core @ionic/core package type: bug a confirmed bug report
Projects
None yet
2 participants