diff options
| author | qsm-odoo <qsm@odoo.com> | 2016-07-05 12:48:11 +0200 |
|---|---|---|
| committer | qsm-odoo <qsm@odoo.com> | 2016-07-05 18:05:24 +0200 |
| commit | 3d8d2ed50ec3b8dd6d81d9d01000a20018d5090e (patch) | |
| tree | e414f6cbc374715940b66540fbc52e89e4b37b03 /addons/web/static/src/js/framework/formats.js | |
| parent | 73898ccb8bc089b13b1ad50077abc3665fcf39f4 (diff) | |
[FIX] web_tour: ideal location to append tip
The tip was currently placed in the first parent which can scroll.
This is wrong if there is a parent which is position:fixed in that
element which scrolls (as it would not follow the scrolling as it is
fixed).
The ideal location is now the first parent which can scroll or which
is position:fixed.
Note: there are still two cases which may not work but they are
considered rare enough to not handle them :
* A position:fixed element which is overflow:hidden too
* A position:absolute element whose relative ancestor is an ancestor
of the ancestor element which can scroll.
Diffstat (limited to 'addons/web/static/src/js/framework/formats.js')
0 files changed, 0 insertions, 0 deletions
