diff options
| author | Adrien Dieudonne <adr@odoo.com> | 2020-08-31 13:50:02 +0000 |
|---|---|---|
| committer | Adrien Dieudonne <adr@odoo.com> | 2020-09-02 15:44:13 +0000 |
| commit | 800c55db56689baa9b67b7243e494246a98b3484 (patch) | |
| tree | d2f366892575dc614ba623cb69f8bede0d4d7a0f /addons/web/static/src | |
| parent | fe32c6ae53635e26c436140a70cf96f1104cb558 (diff) | |
[FIX] web: preview PDF file on iOS
Before this commit, the end users were unable to click on the
kanban image to see document's preview.
To fix this we removed lines from a previous fix which is no
longer useful in 13.0 because we now use kanban views for
many2X fields instead of list views.
See original commit:
https://github.com/odoo/odoo/commit/26c62cbb4401bffb72ce77fee481ca84b77a8143
So for mobile phones it's working fine.
For iPads, this rule is no longuer necessary since iPadOS.
See "Accelerated Scrolling on iOS and iPadOS":
https://webkit.org/blog/9674/new-webkit-features-in-safari-13/
For previous versions it still works because the DOM has changed.
Steps to reproduce:
- Go to Document
- Click on "o_kanban_image"
=> Your're stuck on a grayed page.
opw-2260101
closes odoo/odoo#56974
X-original-commit: 0d41d0daa7220a791bc4df85cca4100e3634e432
Related: odoo/enterprise#12906
Signed-off-by: Adrien Dieudonné (adr) <adr@odoo.com>
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/scss/modal.scss | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/addons/web/static/src/scss/modal.scss b/addons/web/static/src/scss/modal.scss index e3331fe9f2c..7c5e230708f 100644 --- a/addons/web/static/src/scss/modal.scss +++ b/addons/web/static/src/scss/modal.scss @@ -122,8 +122,6 @@ } body.modal-open { - // Allow vertical scrolling in modals on iOS - -webkit-overflow-scrolling: touch; .modal { @include o-scrollbar-overlay; } |
