-
- Downloads
[FIX] web: sync reposition for nested poppers
This commit will have nested components making use of the usePosition hook to synchronize their repositioning. **Before this commit** Each component handles its own repositioning logic. If it is mounted somehow inside another component using that same logic, conflicts occur in some circumstances. **After this commit** It is now ensured that, in case of nested positioned components, the whole chain of repositioning computations is called in the proper order: from the parent to the children. **Example** - Before ![before] - After ![after] [before]: https://github.com/odoo/odoo/assets/1159815/3c9cfae7-db68-4707-a73c-ad7e2e71d4bf [after]: https://github.com/odoo/odoo/assets/1159815/a21f56e0-d8e3-48c1-9509-8e6ee5040d4b closes odoo/odoo#125359 X-original-commit: 7ceba441cc44ba6e6c7ee85008ab4b233e7f2d86 Signed-off-by:Michaël Mattiello (mcm) <mcm@odoo.com> Signed-off-by:
Bruno Boi (boi) <boi@odoo.com>
Loading
Please register or sign in to comment