Skip to content

Commit

Permalink
fix: not considere OPEN/CLOSE for embed layout
Browse files Browse the repository at this point in the history
  • Loading branch information
rjborba committed Nov 20, 2024
1 parent 8a2708b commit 1c4073e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ export class SearchBox {
}

render() {
if (!globalContext.open) {
if (this.layout === 'modal' && !globalContext.open) {
return null
}

Expand Down
Loading

0 comments on commit 1c4073e

Please sign in to comment.