[9.1] [Ingest Pipelines] Fix add/edit processor flyout return focus behavior (#239720)#240040
Merged
damian-polewski merged 4 commits intoelastic:9.1from Oct 23, 2025
Merged
Conversation
elastic#239720) ## Summary Closes elastic#217956, closes elastic#218207 This PR fixes an issue with add/edit processor flyouts not returning focus to the correct element after closure. Changes: - Added a optional `buttonRef` property to the `EditorMode` that allows to pass the trigger element reference using `onTreeAction` or `editor.setMode`. - Added `returnFocus` prop to `AddProcessorForm` and `EditProcessorForm` to allow focusing of the trigger element after flyout closure. (cherry picked from commit 6526f44) # Conflicts: # x-pack/platform/plugins/shared/ingest_pipelines/public/application/components/pipeline_editor/components/add_processor_button.tsx # x-pack/platform/plugins/shared/ingest_pipelines/public/application/components/pipeline_editor/components/processors_empty_prompt.tsx # x-pack/platform/plugins/shared/ingest_pipelines/public/application/components/pipeline_editor/components/processors_tree/components/tree_node.tsx
8 tasks
Contributor
Author
|
@elasticmachine merge upstream |
Contributor
Author
|
@elasticmachine merge upstream |
kapral18
approved these changes
Oct 22, 2025
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]Async chunks
History
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport
This will backport the following commits from
mainto9.1:Questions ?
Please refer to the Backport tool documentation