Hi,
We are using ionic version 5 in our project. From last few days, in very few phones if user clicks on ion-select only background backdrop is showing but there is no popover. I am using interface popover for ion-select. after debugging this, we noticed that the height of .popover-content inside popover-wrapper coming as 0. I have tried using min-height , but style is getting broken then.
Please help me with these.Thank you in advance. Please let me know if any code reference needed.
1 Like
Hi @trishapaul in which device you facing this? Actually I am facing in SAMSUNG Galaxy F14 5G and SAMSUNG Galaxy M30s.
Hi,
Did you managed to find out the issue, we have just started getting users have this issue? So far we have had the report from someone with a Galaxy S21 and a Galaxy S22 when the dropdowns were previously working on their devices and no updates have been made to our App.
Hi! This has also started happening in our app (both in production and dev versions). Even without us making changes, the ion-select elements stopped working.
This happens for Android versions of the app and in ionic serve. (iOS version seems to still work so far…)
It has been reported in several devices: Android 13, Android 12, Android 10.
The only Android device where ion-select elements still work is an old HTC with Android 7.
Here’s my ionic info:
Ionic:
Ionic CLI : 6.20.1
Ionic Framework : @ionic/angular 6.1.12
@angular-devkit/build-angular : 13.3.8
@angular-devkit/schematics : 13.3.8
@angular/cli : 13.3.8
@ionic/angular-toolkit : 6.1.0
Cordova:
Cordova CLI : 11.0.0
Cordova Platforms : android 10.1.2
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 13 other plugins)
Utility:
cordova-res : 0.10.0
native-run : 0.3.0
System:
Android SDK Tools : 25.2.3
NodeJS : v18.16.0
npm : 7.24.1
OS : Windows 10
Updating to @ionic/angular 6.5.2
seems to fix the issue.
See:
opened 02:30PM - 19 Jan 23 UTC
closed 04:55PM - 30 Jan 23 UTC
package: core
type: bug
### Prerequisites
- [X] I have read the [Contributing Guidelines](https://githu… b.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.
### Ionic Framework Version
- [ ] v4.x
- [ ] v5.x
- [X] v6.x
- [ ] Nightly
### Current Behavior
After clicking onto an `ion-select` with `interface="popover"` the backdrop appears but no popover is shown.
The console shows the error or rather warning "_Found a 'popover' attribute with an invalid value._"

### Expected Behavior
After cclicking onto an `ion-select` with `interface="popover"` the backdrop AND the popover itself should be shown.
### Steps to Reproduce
Just run the stackblitz example from the [docs](https://ionicframework.com/docs/api/select#popover).
After opening the stackblitz example the docs show the same incorrect behavior!

### Code Reproduction URL
_No response_
### Ionic Info
I can't run `ionic info` in the stackblitz project but as I have the same error in my project here's my output
Ionic:
Ionic CLI : 6.20.1
Ionic Framework : @ionic/angular 6.5.0
@angular-devkit/build-angular : 15.1.1
@angular-devkit/schematics : 15.1.1
@angular/cli : 15.1.1
@ionic/angular-toolkit : 7.0.0
Capacitor:
Capacitor CLI : 4.6.1
@capacitor/android : 4.6.1
@capacitor/core : 4.6.1
@capacitor/ios : 4.6.1
Utility:
cordova-res : 0.15.3
native-run : 1.7.1
System:
NodeJS : v16.14.2
npm : 8.7.0
OS : Windows 10
### Additional Information
After removing `interface="popover"` it works as expected (but not as popover)
ionic-team:main
← ionic-team:chrome-109-popover
opened 10:13PM - 24 Jan 23 UTC
## Pull request checklist
Please check if your PR fulfills the following requ… irements:
- [x] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been reviewed and added / updated if needed (for bug fixes / features)
- Some docs updates need to be made in the `ionic-docs` repo, in a separate PR. See the [contributing guide](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#modifying-documentation) for details.
- [x] Build (`npm run build`) was run locally and any changes were pushed
- [x] Lint (`npm run lint`) has passed locally and any fixes were made for failures
## Pull request type
Please check the type of change your PR introduces:
- [x] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] Documentation content changes
- [ ] Other (please describe):
## What is the current behavior?
Issue URL: resolves https://github.com/ionic-team/ionic-framework/issues/26643
Popover currently passes an unused `popover` property to the component. However, `popover` is not a property on `ion-popover`. This was added in https://github.com/ionic-team/ionic-framework/commit/6383a54f35ce946db8ca8e8eefd7d5c64436a21a
This interferes with the new [Popover API](https://developer.chrome.com/docs/web-platform/popover-api/popover-property/) in Google Chrome and causes the popover to not appear.
## What is the new behavior?
- Remove the `popover` and `modal` properties from being passed in core
I updated the Angular Delegate to pass these properties directly to the Angular component for backwards compatibility. This API is a legacy behavior and is not well documented. This API was never usable in Ionic React and Ionic Vue. TypeScript would complain about accessing a property that does not exist on the component props interface, and we explicitly removed these keys from the `componentProps` in Ionic Vue. We should explore alternative APIs in the future.
## Does this introduce a breaking change?
- [ ] Yes
- [x] No
## Other information
ebuoe
August 13, 2023, 9:27am
7
Hi Julio ,
I updated my ionic to the latest, ionic/vue 7.1.1 and I’m still having the same issues.
ebuoe
August 13, 2023, 11:56am
8
I found a solution on stackoverflow:
ionic framework - ion-select popover not working Chrome 114 - Stack Overflow .
Adding the code below in the global “variable.css” folder under the theme folder , solved my problem:
ion-popover [popover]:not(:popover-open):not(dialog[open]) {
display: contents;
}
Tho it still prints a “Found a ‘popover’ attribute with an invalid value.” warning on the console
1 Like