-
-
Notifications
You must be signed in to change notification settings - Fork 835
bug: l[f] is not a function in versions newer than 4.39.0 #6658
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Stencil Version
4.40.0 or newer
Current Behavior
update to stencil 4.40.0 broke IonModal on an Ionic 7 react app, trying to present the modal shows l[f] is not a function
Expected Behavior
the modal should appear and nothing should break in minor updates
System Info
Steps to Reproduce
In this PR the stencil/core version was updated from 4.39.0 to 4.42.1
https://github.com/ionic-team/capacitor-testapp/pull/765/changes#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519L2915
That caused the modal on Local Notifications/Push Notifications pages to break
Steps to reproduce
- Clone repository https://github.com/ionic-team/capacitor-testapp
npm installnpm run buildnpx cap sync androidnpx cap open android- Run the app on an Android emulator or device
- Go to Local Notifications or Push Notifications page
- Click "Create Notification Channel" button and see that nothing happens
If you install npm install @stencil/core@4.39.0 --save-exact and repeat steps from 3 to 8 you'll see the modal now appears.
The app is now using @stencil/core@4.43.3 (latest at the moment) and still not working, so the issue is still present.
Code Reproduction URL
https://github.com/ionic-team/capacitor-testapp
Additional Information
No response