Skip to content

matTooltip does not work inside fullscreen dialog ?  #45

@gotenks

Description

@gotenks

I have a dialog, which is opened with a code shown below :

const dialogPopup = new DialogInitializer(NgxPopupTooltipExample);

// Set some configuration.
dialogPopup.setConfig({
  width     : '100%',
  minWidth  : '100%',
  layoutType: DialogLayoutDisplay.NONE,
  fullScreen: true,
  escapeKeyClose: true,
  displayLoader: false,
});
dialogPopup.setButtons([
  new ButtonMaker('Cancel', 'cancel', ButtonLayoutDisplay.SECONDARY)
]);

dialogPopup.openDialog$().subscribe(resp => {
  if (resp.clickedButtonID === 'submit') {
  }
});

Here is NgxPopupTooltipExample source code :

import {Component} from '@angular/core';
import {MatTooltipModule} from '@angular/material/tooltip';

@component({
standalone: true,
selector: 'ngxpopup-tooltip-example',
template: <div style="width:100%; height:100%;" matTooltip="Tooltip test ...">foo, bar, baz ...</div>,
imports: [MatTooltipModule],
})
export class NgxPopupTooltipExample {}

Tooltip is not shown when the dialog is opened ... Is it a known issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions