elastic / eui

Elastic UI Framework 🙌
https://eui.elastic.co/
Other
56 stars 841 forks source link

Fix EUI+ search not indexing heading elements #8098

Closed tkajtoch closed 1 month ago

tkajtoch commented 1 month ago

Summary

This PR fixes EUI+ search by re-adding the necessary markdown class name to DocItemContent and setting the data-search-children attribute to a truthy value to allow proper heading recognition.

QA

tkajtoch commented 1 month ago

@mgadewoll I switched it to overflow: hidden auto, and it seems to work perfectly fine with the search bar and SVGs now :)

mgadewoll commented 1 month ago

@mgadewoll I switched it to overflow: hidden auto, and it seems to work perfectly fine with the search bar and SVGs now :)

@tkajtoch This isn't working though it seems. I guess let's just remove it

tkajtoch commented 1 month ago

I don't know what happened but that was working locally in dev and when built locally. I replaced it with a safer solution, removing the overflow property from the wrapper element altogether. Sorry about that!

kibanamachine commented 1 month ago

Preview staging links for this PR:

elasticmachine commented 1 month ago

:green_heart: Build Succeeded

History

cc @tkajtoch