-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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: Opening and closing IonSelect crashes Chrome (Aw, Snap!) #30084
Comments
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:
I can replicate it consistently in:
I was unable to replicate the crash in the following browsers/OS:
So I guess it's specific to I have tested if the behaviour changes if the value of My environment:
It may have something to do with the css being used in this component. Found this. |
Happens also when using a controlled modal and then dismissing it |
Happens to me as well. I am opening a modal using 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:
|
Hey, |
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
When I open and close an
IonSelect
nested in anIonHeader
, 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.Version 131.0.6778.140 (Official Build) (arm64)
Expected Behavior
Opening and closing IonSelect does not crash the webpage.
Steps to Reproduce
Screen.Recording.2024-12-13.at.4.10.55.PM.mov
Code Reproduction URL
https://stackblitz.com/edit/s31z8pdq-rmne6pwu?file=src%2Findex.tsx
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
The text was updated successfully, but these errors were encountered: