Replies: 1 comment 1 reply
-
Hey @golota60, I replied on the DocSearch ticket since this might be fixable with CSS. Also, did you mistakenly mentioned I'll update this ticket as we move forward. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
hey! thanks for the awesome library
downstream issue: algolia/docsearch#1572
There's an issue downstream in
https://github.com/algolia/docsearch
where the search results are obstructed when you move up through the list using arrow keys(see downstream issue for more details). It's most likely happening causescrollIntoView
andscrollIntoViewIfNeeded
inonKeyDown
are not accounting for the sticky header. My proposed fix for it is to replace those withscrollTo/scrollBy
and allow to specify
xOffset/yOffset
by consumers. That would allow a fix to be implemented downstream.If you give me a green light I'd be happy to implement it!
Beta Was this translation helpful? Give feedback.
All reactions