fix(select): selection-option is hidden in edge (#16607)

fixes #16580
This commit is contained in:
Manu MA
2018-12-06 01:52:50 +01:00
committed by GitHub
parent 8029df344a
commit 6776e65c9c
3 changed files with 7 additions and 4 deletions

View File

@ -2,6 +2,12 @@ import { Component, ComponentInterface, Element, Event, EventEmitter, Prop } fro
@Component({ @Component({
tag: 'ion-select-option', tag: 'ion-select-option',
shadow: true,
styles: `
:host {
display: none;
}
`
}) })
export class SelectOption implements ComponentInterface { export class SelectOption implements ComponentInterface {

View File

@ -81,7 +81,3 @@ button {
color: var(--icon-color); color: var(--icon-color);
pointer-events: none; pointer-events: none;
} }
::slotted(ion-select-option) {
display: none;
}

View File

@ -72,6 +72,7 @@ body.backdrop-no-scroll {
ion-route, ion-route,
ion-route-redirect, ion-route-redirect,
ion-router, ion-router,
ion-select-option,
ion-animation-controller, ion-animation-controller,
ion-nav-controller, ion-nav-controller,
ion-menu-controller, ion-menu-controller,