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

About the popup window being closed #7892

Open
afr751116 opened this issue Apr 26, 2024 · 0 comments
Open

About the popup window being closed #7892

afr751116 opened this issue Apr 26, 2024 · 0 comments

Comments

@afr751116
Copy link

I'm submitting a ... (check one with "x")

[] bug report => see 'Providing a Reproducible Scenario'
[] feature request => do not use Github for feature requests, see 'Customers of AG Grid'
[x] support request => see 'Requesting Community Support'

`<div style="width: 550px; height: 300px" #inputArchives (click)="$event.stopPropagation()">
<input
nz-input
#inputSearch
type="text"
nz-input
[(ngModel)]="queryDto.filterText"
(ngModelChange)="filterTextChange()"
[placeholder]="l('SearchWithThreeDot')"
(keydown)="onKeyDown($event)"
nz-popover
[nzPopoverVisible]="true"
[nzPopoverContent]="table"
nzPopoverPlacement="bottomLeft"
[nzPopoverTrigger]="null"
/>

<ng-template #table>
<ag-grid-angular
style="width: 550px; height: 300px"
[class]="agThemeClass"
[columnDefs]="columnDefs"
[stopEditingWhenCellsLoseFocus]="true"
>

`

this.inputArchives.nativeElement.classList.add('ag-custom-component-popup');

Enabled < stopEditingWhenCellsLoseFocus >, but added the < (click) = ". $event stopPropagation () "> and < ag - custom - component - the popup >, A mouse click on the pop-up window will still end the editing

image

Please tell us about your environment: WIN2019 Visual Studio Code

  • AG Grid version: 30.2.0
  • Browser: Google Chrome 123.0
  • Language: [ TypeScript 4.3.5 | ES5]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants