summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/formats.js
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2016-07-05 12:48:11 +0200
committerqsm-odoo <qsm@odoo.com>2016-07-05 18:05:24 +0200
commit3d8d2ed50ec3b8dd6d81d9d01000a20018d5090e (patch)
treee414f6cbc374715940b66540fbc52e89e4b37b03 /addons/web/static/src/js/framework/formats.js
parent73898ccb8bc089b13b1ad50077abc3665fcf39f4 (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