Repository navigation
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.
Ionic Framework Version
v8.x
Current Behavior
When I open and close an IonSelect nested in an IonHeader, chrome crashes with an "Aw, Snap!". This issue seems to be specific to the arm64 build of Chrome on Apple Silicon. Chrome does not crash on Intel chips.
- Chrome version:
Version 131.0.6778.140 (Official Build) (arm64) - Computer: Apple MacBook M2 Max (macOS 14.2.1 (23C71))
<IonApp>
<IonPage>
<IonHeader>
<IonSelect label="Open then close me"></IonSelect>
</IonHeader>
<IonContent>some content</IonContent>
</IonPage>
</IonApp>Expected Behavior
Opening and closing IonSelect does not crash the webpage.
Steps to Reproduce
- Be on an Apple Silicon M1/M2/M3 computer
- Go to https://stackblitz.com/edit/s31z8pdq-rmne6pwu?file=src%2Findex.tsx
- Click "Open then close me"
- Close the modal
- The page should crash
Screen.Recording.2024-12-13.at.4.10.55.PM.mov
Code Reproduction URL
Ionic Info
Ionic:
Ionic CLI : 7.2.0 (/Users/jdefting/Library/pnpm/global/5/.pnpm/@Ionic[email protected]/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 8.4.1 (/Users/jdefting/visiostack/vs/frontends/infra-frontend/node_modules/.pnpm/@Ionic[email protected][email protected][email protected][email protected]/node_modules/@ionic/react)
Capacitor:
Capacitor CLI : 6.1.2
@capacitor/android : 6.1.2 (/Users/jdefting/visiostack/vs/frontends/infra-frontend/node_modules/.pnpm/@capacitor+android@6.1.2_@capacitor[email protected]/node_modules/@capacitor/android)
@capacitor/core : 6.1.2 (/Users/jdefting/visiostack/vs/frontends/infra-frontend/node_modules/.pnpm/@capacitor[email protected]/node_modules/@capacitor/core)
@capacitor/ios : 6.1.2 (/Users/jdefting/visiostack/vs/frontends/infra-frontend/node_modules/.pnpm/@capacitor+ios@6.1.2_@capacitor[email protected]/node_modules/@capacitor/ios)
Utility:
cordova-res : not installed globally
native-run : not installed globally
System:
NodeJS : v18.19.0 (/Users/jdefting/.nvm/versions/node/v18.19.0/bin/node)
npm : 10.2.3
OS : macOS Unknown
Additional Information
No response
Activity
dgreasi commentedon Dec 20, 2024
I am experiencing the same issue only in particular browsers and OS.
The crash occurs when the select modal is being dismiss (either by selecting an option or dismissing)
I am using the following in my code:
Result:

I can replicate it consistently in:
Brave- macOSChrome- macOSI was unable to replicate the crash in the following browsers/OS:
Firefox- macOSSafari- macOSSafari- iOSFirefox- UbuntuBrave- UbuntuChrome- UbuntuBrave- AndroidChrome- AndroidChrome- WindowsSo I guess it's specific to
macOSwith arm CPU (Mac Studio M2 Max)I have tested if the behaviour changes if the value of
interfaceis different but I got the same crash.My environment:
It may have something to do with the css being used in this component. Found this.
nadavhalfon commentedon Dec 23, 2024
Happens also when using a controlled modal and then dismissing it
Sagie501 commentedon Dec 23, 2024
Happens to me as well. I am opening a modal using
useIonModaland after dismissing it either by themodalController.dismiss()nor the dismiss function from theuseIonModalit crash. I tested it on Chrome and Safari and it happened only on Chrome.Note: When I am clicking on the backdrop, the modal closes and doesn't crash, it crashes only when I am calling the dismiss function.
My environment:
nadavhalfon commentedon Jan 1, 2025
Hey,
Is this being tested? this crashes the app, it's very critical
dmaz-np commentedon Jan 8, 2025
We are having this same issue. Same as reported here... only chromium browsers on arm macs and this includes Edge.
dmaz-np commentedon Jan 29, 2025
update.. new chrome/edge this morning, v132 seems to fix the reproduceable test cases we had for mac arm devices. Hopefully this is a full on fix for all these "aw snaps" we've been seeing.
vs-jdefting commentedon Feb 11, 2025
Looks like the crash no longer happens in my reproduction app on the latest version of chrome. Going to go ahead and close this issue.
ionitron-bot commentedon Mar 14, 2025
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.