Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@humitos
Copy link
Member

@humitos humitos commented Oct 1, 2024

This is a regression introduced in
#1601

This PR triggers the search modal when clicking on the "Search docs" input from

  • inside the flyout if present
  • the top left navbar

This is a regression introduced in
#1601

This PR triggers the search modal when clicking on the "Search docs" input from
- inside the flyout if present
- the top left navbar
@humitos humitos requested a review from a team as a code owner October 1, 2024 08:57
Copy link
Member

@ericholscher ericholscher left a comment

Choose a reason for hiding this comment

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

Seems that we just moved this outside the if block? Is there any more context on why that fixes it?

@humitos
Copy link
Member Author

humitos commented Oct 1, 2024

Yes. We moved it away from the first block because that block is only executed when theme_flyout_display = "attached", which is not executed by default.

@humitos humitos self-assigned this Oct 1, 2024
@humitos humitos merged commit 5b181b8 into master Oct 2, 2024
@humitos humitos deleted the humitos/search-modal branch October 2, 2024 11:52
@humitos
Copy link
Member Author

humitos commented Oct 2, 2024

I released 3.0.0rc4 with this work: https://pypi.org/project/sphinx-rtd-theme/3.0.0rc4/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants