-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Observability Onboarding] Scroll to Package List on collection click (…
…#180961) ## Summary Resolves #180814. When the user clicks a collection, we are presently focusing the search bar and scrolling to it. This patch will change the behavior to _not_ change the focus programmatically, and smooth scroll the package list into view. ### Note I am open to suggestions on how to make [this](https://github.com/elastic/kibana/pull/180961/files#diff-23a1716beb9bc5c1c0ef8b6f30f0f805fb7f148770f3dc82a035fcd4bbdb1658R94) less of a hack, but it make the experience better because we give the component time to render before doing the scroll. Here's a before/after: #### Before On initial click of the Azure collection, we only see two rows from the scroll. ![20240416120336](https://github.com/elastic/kibana/assets/18429259/665e99ed-861d-4ba1-acc4-8cf5422973e9) #### After With the delay, we see the full row. ![20240416122920](https://github.com/elastic/kibana/assets/18429259/2fd9f7c4-c81a-45a8-876f-eb2b1d94db73) --------- Co-authored-by: Joe Reuter <[email protected]>
- Loading branch information
1 parent
0170f5e
commit fa936db
Showing
2 changed files
with
15 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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