Skip to content

Commit

Permalink
fix(js): allow body scroll when detached mode responsively disabled. f…
Browse files Browse the repository at this point in the history
…ixes algolia#1250
  • Loading branch information
aldenquimby committed May 10, 2024
1 parent e0187cd commit dd64a17
Show file tree
Hide file tree
Showing 8 changed files with 96 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/autocomplete.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/autocomplete-js/src/autocomplete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export function autocomplete<TItem extends BaseItem>(
return () => {
if (panelContainerElement.contains(panelElement)) {
panelContainerElement.removeChild(panelElement);
panelContainerElement.classList.add('aa-Detached');
}
};
});
Expand Down

0 comments on commit dd64a17

Please sign in to comment.