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

[Grid] Filter menu with built-in date filter throws an error on horizontal scrolling after selecting a date #4434

Open
zstoyanova9 opened this issue Oct 15, 2024 · 0 comments

Comments

@zstoyanova9
Copy link

zstoyanova9 commented Oct 15, 2024

Description

When the Grid has a filter menu configured with the built-in date filter and the user selects a date from one of the displayed DatePickers without performing any filtering or clearing the filter (without clicking the "Filter" or "Clear" button), then scrolls the Grid horizontally, the following error appears in the console:

image

Steps To Reproduce

  1. Configure a Grid with filter menu and a column with built-in date filter.
  2. Open the filter menu of the column that has the date filter set.
  3. Select a date from one of the DatePickers in the filter menu popup.
  4. Scroll the Grid horizontally.

StackBlitz example - https://stackblitz.com/edit/angular-j3e7hz

The same error appears to also be reproduced in cases when using the filter menu with a popup component and performing similar steps. For example, when a MultiSelect is rendered in the filter menu template, open the filter menu and the MultiSelect, and then scroll the Grid horizontally - https://stackblitz.com/edit/angular-nnducg

Screenshots or video

explorer_qRLWtPcElh.mp4

Actual Behavior

The following error is thrown in the console - Failed to execute 'removeChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?

Expected Behavior

No error should be thrown in this scenario.

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

1 participant