[REV] website: revert UrlAutocomplete displayed behind modal

This reverts commit 6c749a4b0d.

This commit was fixing an issue raised after a fix [1]
that is about to get reverted [2].

We will make a proper fix after the OXP2023 event.

[1]: https://github.com/odoo/odoo/commit/9682cfa174fb39ec9d9874951ea9ee2884058d96
[2]: https://github.com/odoo/odoo/pull/141401

closes odoo/odoo#141405

Signed-off-by: Romain Estievenart (res) <res@odoo.com>
This commit is contained in:
Bruno Boi
2023-11-08 03:00:13 +00:00
parent 5f85596621
commit ea83d3eb57
2 changed files with 1 additions and 6 deletions
@@ -4,8 +4,3 @@
cursor: default;
}
}
.url-autocomplete-container.ui-widget.ui-autocomplete {
// This follow the z-index applied at the overlay_container.scss
z-index: $zindex-tooltip + 1;
}
+1 -1
View File
@@ -64,7 +64,7 @@ function autocompleteWithPages(input, options= {}) {
});
const container = document.createElement("div");
container.classList.add("ui-widget", "ui-autocomplete", "ui-widget-content", "border-0", "url-autocomplete-container");
container.classList.add("ui-widget", "ui-autocomplete", "ui-widget-content", "border-0");
document.body.appendChild(container);
owlApp.mount(container)
return () => {