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

Search modal: Set cursor on auto #37027

Merged
merged 2 commits into from
Sep 1, 2022

Conversation

louismaximepiton
Copy link
Member

The search container .DocSearch-Container contains a [role="button"] leading to a pointer cursor on every part of the modal. This is just a quick fix, but I'm actually wondering why there is that [role="button"] on that container. I should maybe open an issue on Algolia side ?

Copy link
Member

@julien-deramond julien-deramond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix LGTM!
I'm also wondering why there's a [role="button"] for this container. It is mentioned in @patrickhlauke issue algolia/docsearch#1370. Maybe you can just add a comment along with your patch with the reference of this issue and why we need to add this patch; it will allow us in the future to remove this line if it becomes useless.

@julien-deramond julien-deramond self-requested a review August 26, 2022 12:42
@mdo mdo merged commit 4cea8b1 into twbs:main Sep 1, 2022
@louismaximepiton louismaximepiton deleted the main-lmp-search-cursor-fix branch September 2, 2022 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants