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: Ion Select does not open on production build #24833

Closed
4 of 6 tasks
milanharia opened this issue Feb 22, 2022 · 3 comments
Closed
4 of 6 tasks

bug: Ion Select does not open on production build #24833

milanharia opened this issue Feb 22, 2022 · 3 comments
Labels
package: react @ionic/react package type: bug a confirmed bug report

Comments

@milanharia
Copy link

milanharia commented Feb 22, 2022

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

When tapping on an ion item that contains an ion select, the ion select overlay does not appear. This seems to have broken in v6.0.2 as it works fine in v6.0.1.

Simulator.Screen.Recording.-.iPhone.11.-.2022-02-22.at.13.51.25.mp4

Expected Behavior

I expect the select overlay to appear when tapping on the item so that I can select one of the options.

Steps to Reproduce

This issue occurs when running a production build on iOS and android on any version of ionic later than v6.0.1.

Code Reproduction URL

Ionic Info

Ionic:

Ionic CLI : 6.18.1 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 6.0.8

Capacitor:

Capacitor CLI : 3.2.5
@capacitor/android : 3.3.2
@capacitor/core : 3.2.5
@capacitor/ios : 3.2.5

Utility:

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

System:

NodeJS : v16.13.0 (/usr/local/bin/node)
npm : 8.1.0
OS : macOS Monterey

Additional Information

No response

@ionitron-bot ionitron-bot bot added the triage label Feb 22, 2022
@sean-perkins sean-perkins self-assigned this Feb 22, 2022
@sean-perkins sean-perkins added package: react @ionic/react package type: bug a confirmed bug report labels Feb 22, 2022
@sean-perkins
Copy link
Contributor

sean-perkins commented Feb 22, 2022

@milanharia thanks for reporting this issue. I am able to reproduce locally. I've updated your issue with a link to a reproduction application.

Reproduction steps:

  1. npm run build
  2. Install serve globally or local to project
  3. serve -s build
  4. Open http://localhost:3000/home
  5. Click on the select
  6. See that the alert does not display.

@sean-perkins
Copy link
Contributor

Actually this looks like it's a duplicate of #24807 and has been resolved in this PR #24810. The fix will be available in the next release of Ionic.

@sean-perkins sean-perkins removed their assignment Feb 22, 2022
@ionitron-bot
Copy link

ionitron-bot bot commented Mar 24, 2022

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.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
package: react @ionic/react package type: bug a confirmed bug report
Projects
None yet
Development

No branches or pull requests

2 participants