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

matTooltip does not work inside fullscreen dialog ? #45

Open
gotenks opened this issue Dec 11, 2023 · 0 comments
Open

matTooltip does not work inside fullscreen dialog ? #45

gotenks opened this issue Dec 11, 2023 · 0 comments

Comments

@gotenks
Copy link

gotenks commented Dec 11, 2023

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant