diff --git a/core/src/components/popover/popover.tsx b/core/src/components/popover/popover.tsx index bd5741f0e8..54acc5f955 100644 --- a/core/src/components/popover/popover.tsx +++ b/core/src/components/popover/popover.tsx @@ -207,9 +207,8 @@ export class Popover implements ComponentInterface, PopoverInterface { @Prop({ mutable: true }) alignment?: PositionAlign; /** - * If `true`, the popover will display an arrow - * that points at the `reference` when running in `ios` mode - * on mobile. Does not apply in `md` mode or on desktop. + * If `true`, the popover will display an arrow that points at the + * `reference` when running in `ios` mode. Does not apply in `md` mode. */ @Prop() arrow = true; @@ -589,7 +588,7 @@ export class Popover implements ComponentInterface, PopoverInterface { const mode = getIonMode(this); const { onLifecycle, popoverId, parentPopover, dismissOnSelect, side, arrow, htmlAttributes } = this; const desktop = isPlatform('desktop'); - const enableArrow = arrow && !parentPopover && !desktop; + const enableArrow = arrow && !parentPopover; return ( Animation) \| undefined` | `undefined` | | `event` | `event` | The event to pass to the popover animation. | `any` | `undefined` | -| `htmlAttributes` | -- | Additional attributes to pass to the popover. | `PopoverAttributes \| undefined` | `undefined` | +| `htmlAttributes` | -- | Additional attributes to pass to the popover. | `HTMLAttributes \| undefined` | `undefined` | | `isOpen` | `is-open` | If `true`, the popover will open. If `false`, the popover will close. Use this if you need finer grained control over presentation, otherwise just use the popoverController or the `trigger` property. Note: `isOpen` will not automatically be set back to `false` when the popover dismisses. You will need to do that in your code. | `boolean` | `false` | | `keyboardClose` | `keyboard-close` | If `true`, the keyboard will be automatically dismissed when the overlay is presented. | `boolean` | `true` | | `leaveAnimation` | -- | Animation to use when the popover is dismissed. | `((baseEl: any, opts?: any) => Animation) \| undefined` | `undefined` |